I24 Server Setup: Difference between revisions
From OuroDev
Line 2: | Line 2: | ||
* Visual Studio 2010 Professional or Visual Studio 2019 with the 2010 toolchain configured | * Visual Studio 2010 Professional or Visual Studio 2019 with the 2010 toolchain configured | ||
* SQL Server 2012 or later (Express is good enough for development) | * SQL Server 2012 or later (Express is good enough for development) | ||
* | :* [https://www.microsoft.com/en-us/sql-server/sql-server-editions-express SQL Server 2017 Express Edition] | ||
* [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SQL Server Management(SSMS)] | * [https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 SQL Server Management(SSMS)] | ||
* [https://git-scm.com/download/win Git for Windows] or [https://desktop.github.com/ GitHub Desktop] | * [https://git-scm.com/download/win Git for Windows] or [https://desktop.github.com/ GitHub Desktop] |
Revision as of 19:42, 3 May 2019
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.
- Select Basic under installation type:
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.
- Select the location you'd like to install SSMS to. The default is fine.
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.
- Click "New" under "User variables for YOURUSERNAME"
- 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
- Click Ok on both windows to close them out.
- Click "Environment Variables" at the bottom of the new window.
- 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.
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".
- 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".
- 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.
- Naviate to "C:\GitHub\CoX\Source\MasterSolution" and run build.ps1
- Begin building City of Heroes by running ".\build.ps1"