If Best Companies need to see some work that you have done on staging then you can follow these instructions to release it. Best Companies that nobody is using staging at the moment - they will be kicked out of the site if they are on it and you perform a release
- In Visual Studio open the website solution
- Right click on the website project and select 'Publish Website'
- Put a local path in the target location - e.g. 'E:\Depot\Main\BC_Website\PrecompiledWeb\BC_Website'
- Click on the Publish button
- At the bottom of studio, the status should change to 'Build Started...'
- You may be shown a prompt asking 'Existing files in the destination location will be deleted. Continue?' - Click on 'Yes'
- When the status changes to 'Publish succeeded' in Studio, the publish has finished.
- Open 'File Explorer', go to 'Network' and select the 'DEV01' computer. Alternatively, type the location manually into the address bar as '\\DEV01'.
- Open the 'Websites' folder and look for the correct staging folder. If you are not certain which folder you need to use, refer to this guide.
- Open the folder e.g. Staging and replace the files in this location with the files in the folder you have just published to.
- In Studio, go into the web.config file for the schema
- Change the connection string properties for BestCompanies as follows;
- Replace Server=localhost with Server=SQL12
- Replace Database=BestCompanies with Database="The database you want to update"
- Change the connection string properties for BestCompaniesReporting as follows;
- Replace Server=localhost with Server=SQL12
- Replace Database=BestCompanies with Database="the database you are updating with Reporting appended to the name"
- Save the config file
- Run the schema (right click on the project and view in browser)
- Change the config values back to what they were and save the config file again
- Test the site and let Best Companies know it has been done
Comments
0 comments
Please sign in to leave a comment.