This is intended as a guide for getting NetGore set up for the first time and assumes that the system NetGore is being installed on has none of the needed third party components required to use NetGore.
Please download all of the following items if you do not already have them.
Install Visual Studio, MySQL Community Server, and the MySQL GUI. The default settings will work fine. Extract the NetGore project download to any directory. The rest of this guide will assume that you extracted the NetGore project to C:\NetGore\.
After everything is installed, you should be ready to open the solution. Simply double-click the file NetGore.sln. If you extracted to C:\NetGore\, this will be located at C:\NetGore\NetGore.sln. When the solution has been loaded in the IDE for the first time it is recomended that you build the entire solution - this can be done by using the shortcut F6 in Microsoft Visual Studio.
To be able to run the demo game that comes with NetGore, you will have to import the database. To do this, open up the MySQL GUI program you downloaded (such as SQLyog, mentioned above) and use it to connect to your local MySQL database. Once you have connected, create a new database and name it demogame. After creating the database, import the database dump file.
Optionally, you may also do this from the command line. To do so, open up a Command Prompt and enter the following commands:
C:\> mysql --user=<USERNAME> --password=<PASSWORD> --host=localhost mysql> CREATE DATABASE demogame; mysql> USE demogame mysql> SOURCE <PATH>
The first line will connect to you to the MySQL database. Be sure to replace
Inside the root directory is a binary InstallationValidator.exe. If you extracted to C:\NetGore\, the file will be at C:\NetGore\InstallationValidator.exe. Run this program to double-check that different components were set up correctly.