developmentinstallation
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| developmentinstallation [2013/09/03 09:35] – created mhgamework | developmentinstallation [2024/08/26 13:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Installing the wizards for development ====== | ====== Installing the wizards for development ====== | ||
| + | |||
| + | SEE the confluence page for an up-to-date install guide [[https:// | ||
| + | |||
| ===== Requirements ===== | ===== Requirements ===== | ||
| Line 31: | Line 34: | ||
| The Wizards uses git for development. The main wizards repository is at: https:// | The Wizards uses git for development. The main wizards repository is at: https:// | ||
| - | On bitbucket, go to the main wizards repository (link above), and chose fork. Now get your repository url from the main page of your fork. **Use a https URL instead of ssh, unless you like configuring ssh keys** | + | * On bitbucket, go to the main wizards repository (link above), and chose fork. |
| + | * Now get your repository url from the main page of your fork. **Use a https URL instead of ssh, unless you like configuring ssh keys**. This URL looks like this: // https:// | ||
| + | * Choose a folder where you want to put The Wizards source and do a git clone. Enter the URL you got earlier. If you want to have automatic login, you can add your password to the URL as follows: // | ||
| + | * Wait for a while until the source gets downloaded. | ||
| + | * You can now use show log to see the git tree and checkout a branch. Checkout the ' | ||
| + | |||
| + | New to GIT, or simply still confused? Check out UsingGIT. | ||
| + | |||
| + | ==== Compiling ==== | ||
| + | |||
| + | Now that you have the source and it is checked out, you are read to build and run the project! To build The Wizards the first time, follow these steps: | ||
| + | |||
| + | (all paths are relative to the source root) | ||
| + | |||
| + | * Open /The Wizards.sln | ||
| + | * Press Build-> | ||
| + | * Check the error list. You might need to Build Solution again, since nuget might have installed new packages. | ||
| + | * If there is an error stating that NuGet needs permissions to download packages, you should go to Tools-> | ||
| + | * If PostSharp was not yet installed and registered, it should | ||
| + | * If you see no more build errors then you should be ready to go! (warnings are not a problem) | ||
| + | |||
| + | ==== Developing & Running ==== | ||
| + | |||
| + | Now you are ready to go. Open up // /The Wizards.sln // for engine development, | ||
| + | |||
| + | When working with **The Wizards.sln**: | ||
| + | |||
| + | * Set ServerClient as startup project (right-click) in order to run unit tests for the core. | ||
| + | * (ADVANCED) Set NewModules as startup project to start the engine, then press F5 when running to chose a test. | ||
| + | |||
| + | When working with **The Wizards Gameplay.sln** | ||
| + | |||
| + | * Start the engine first: // / | ||
| + | * Your code will now be hotloaded into this engine instance when you build. | ||
| + | * Press F5 to open a test, or backspace to open the menu. | ||
| + | |||
| + | |||
| + | Be sure to read about the SourceDirectoryStructure to find out where you should put your files! | ||
developmentinstallation.1378200918.txt.gz · Last modified: 2024/08/26 13:57 (external edit)
