I24 Server Setup: Difference between revisions
From OuroDev
Created page with "== 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 deve..." |
No edit summary |
||
Line 47: | Line 47: | ||
::: [[File:GitHub Desktop CoX Source.png|thumb|none]] | ::: [[File:GitHub Desktop CoX Source.png|thumb|none]] | ||
: After the download finishes you can close GitHub Desktop for now. | : After the download finishes you can close GitHub Desktop for now. | ||
: Naviate to "C:\GitHub\CoX\Source" | |||
== 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. | |||
::: [[File:CoX-Build-1.png|thumb|none]] | |||
: Naviate to "C:\GitHub\CoX\Source\MasterSolution" and run build.ps1 | |||
:: [[File:CoX-Build-2.png|thumb|none]] | |||
: Begin building City of Heroes by running ".\build.ps1" | |||
:: [[File:CoX-Build-3.png|thumb|none]] |
Revision as of 19:41, 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)
- SQL Server Management(SSMS)
- Git for Windows or GitHub Desktop
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.
- 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"