# DFW Project
# Deployment
# 1) First time setup
- Install Microsoft Remote Desktop
- Create a new Connection
- IP:
192.168.2.50
- Username/Password are stored in 1Password as "DFW - 14four User"
# 2) Remote into the machine with your new connection.
- Open Microsft Visual Studio if it isn't already open after you have connected.
# 3) Synchronize to the most recent commit.
- Open visual studio's team explorer, click on sync, and then click on pull to update your local branch.
TIP
If you prefer to just use git for syncing you can do that instead. Team Explorer is just visual studios way of hooking into the git repo.
# 4) Open git bash on the remote PC and navigate to the DFW repo.
cd ~/source/repos/sockey-eat-wisconsin-cheese
- Run
git status
to double check that there are no changes in the local repo. - If there is just run
git checkout CMS
to force it to sync that folder.
TIP
The DFWWebApp - Web Deploy (X).pubxml files are okay to still be sitting around. Those files actually contain the credentials needed to deploy to the DFW Server.
# 5) Open visual studio's solution explorer.
- Right click on CMS in the solution explorer and then click on Publish Web App.
# Congrats, the application should have started to publish.
WARNING
If you encountered an error about invalid credentials follow these steps to setup a new DFWWebApp - Web Deploy (X).pubxml file with working credentials.
Switch to the profile tab, select "Microsoft Azure App Service", and click next.
Select DFWWebApp and click okay.
Attempt to publish again.