- Visual Studio 2012
- .NET Framework 4.5
- Databases:
- MySql (preferably the latest version, e.g. 5.6),
- RavenDB
- IIS
- Download and install Git.
- Navigate to the folder which you want to be the home for the codebase.
- Clone the repo: git clone https://github.com/coin-worx/coin-exchange-backend.git
- Follow this guide: http://www.howtogeek.com/112455/how-to-install-iis-8-on-windows-8/
- Working code directory is coin-exchange-backend\src.
- Download the RavenDB from here: http://hibernatingrhinos.com/downloads/RavenDB%20Installer/2879
- Run the Setup installation.
- While installing the RavenDB, please select "Development" in Tragetting environment.
- Install the RavenDB as a service and chose enter port 8081.
- After the installtion completes, open "http://localhost:8081/raven/studio.html" link in the browser. (install silver light if prompted) you might have to use IE for opening the ravendb studio
- In the main screen,click on "New Database", type "InputEventStore" in Name Field and click next.
- In the main screen,click on "New Database", type "OutputEventStore" in Name Field and click next. This all was needed to configure RavenDB. If the link "http://localhost:8081/raven/studio.html" make sure that RavenDB service is running.
- Download latest version of MySql community server.
- Run .exe or .msi file and follow the instructions.
- Select Developer default.
- There should be no password for root user.
- Execute the "create" and "populate" scripts in the src\data\MySql folder.
open command line go to location where MySQL is installed e.g. C:\Program Files\MySQL\MySQL Server 5.7\bin then run this command: mysql -u root -h localhost -p give password when prompted then run this command to create the database (plz change path): SOURCE C:\Users\rasheed-pc\Source\Repos\coin-exchange-backend\src\Data\MySql\create.sql then populate the database SOURCE C:\Users\rasheed-pc\Source\Repos\coin-exchange-backend\src\Data\MySql\populate.sql
- Create a new database named coinexchange.
- MySql Settings:
- username = root,
- host = localhost,
- port = 3306.
Download and install the MySQL connector for .NET from here: http://dev.mysql.com/downloads/connector/net/