-
Notifications
You must be signed in to change notification settings - Fork 32
Deployment instructions
Note: Only admins have the right access to be able to perform this action. Please contact one of them if you need to perform a deployment.
Note: These instructions are intended for Visual Studio 2017
Not covered: How to deploy changes that include database updates
Go here to get to database update instructions. Update the database first before deploying the site.
- Make sure that the branch you currently have checked out is the one you intend to deploy
- If you intend to deploy master, make sure your local branch is up-to-date with the remote branch
- If you intend to deploy a different set of changes (not recommended) make sure that the correct changes appear in your local branch
- At the very least make sure the build works
- Please also test key scenarios, especially those related to the changes you plan to deploy
These can be found in the Azure Portal by going to the puzzlehunt App Service -> Deployment Center -> Deployment Credentials. You can find the App Service by searching for "puzzlehunt" in the search bar in the top center of the portal. The username is auto-filled in visual studio and the password can be copied directly from that page. Finishing this step will deploy the website.
6. Once the deployment has completed, check the live site to verify that changes are in place and that there are no major breaking issues
Congratulations - you've deployed a website! :D
If you get errors while deploying, the most common fix is to restart the app service and then try the deployment again. The app service can be restarted by going to the puzzlehunt App Service in the Azure Portal and clicking the 'Restart' button at the top of the overview (the first page that loads). After the restart completes (usually very fast) then re-try the deployment from visual studio.
- First-time setup
- Contributing using git
- Local Development Environment Setup
- External Authentication Setup
- Build and run locally
- Best practices
- Common Errors
- Making a page Event aware
- Making your page aware of the current user
- PageFilter and on page authorization check example
- Updating the DataModel and or Database Schema
- Debugging the database locally
- FAQ
- Onboarding
- Puzzle setup
- Puzzle properties defined
- Webification
- Unlock a puzzle for a team
- Setting up hints
- Puzzle lockout
- Annotations