I24 Server Setup

From OuroDev

Required Software

  • Visual Studio 2010 Professional or Visual Studio 2019 with the 2010 toolchain configured
  • SQL Server 2012 or later (Express is good enough for development)

Install SQL Server 2017 Express

You can install SQL Server pretty much on the default settings.
Select Basic under installation type:
Agree to the EULA if you want to use SQL Server.
Tell the server where to install files. I changed this for ease on my system.
It should begin installing and eventually you should see "Install has completed successfully". Click close.

Install SQL Server Management(SSMS)

You can install SQL Server Management on default settings.
Select the location you'd like to install SSMS to. The default is fine.
It will take awhile to install and you'll see a little progress bar letting you know whats going on
Eventually it will ask you to reboot the system. Might as well as do that now.

Configure MSBuild Environmental Variable

Click the start button and type "environmental variable". It should be the first entry saying "edit environmental variables for your account"
Click "Environment Variables" at the bottom of the new window.
Error creating thumbnail: File missing
Click "New" under "User variables for YOURUSERNAME"
Error creating thumbnail: File missing
Click "New" on the "Edit environmental variable" window and add the location to your MSBuild.
For me MSBuild was location: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin
Error creating thumbnail: File missing
Click Ok on both windows to close them out.
Hit the start button and type "CMD". Command Prompt should be the first thing listed.
Type "MSBuild" into the command prompt and you should receive an error letting you know its setup.
Error creating thumbnail: File missing


Install GitHub Desktop and Acquire Source

You need to download and install GitHub Desktop.
Open GitHub Desktop, Select File, and Clone a Repository.
Select the URL tab, enter "https://git.ourodev.com/CoX/Source.git" into the first blank and a path where to store the source locally such as "C:\GitHub\CoX\Source".
Error creating thumbnail: File missing
After the download finishes you can close GitHub Desktop for now.

Build City of Heroes from Source

Start a powershell prompt as administrator
Enter "Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine" into the terminal and type "A" to auto accept all.
Error creating thumbnail: File missing
Naviate to "C:\GitHub\CoX\Source\MasterSolution" and run build.ps1
Error creating thumbnail: File missing
Begin building City of Heroes by running ".\build.ps1"
Error creating thumbnail: File missing