Skip to content

Downloading the source code and compiling it using visual studio 2010

mivano edited this page Sep 21, 2011 · 2 revisions

##Requirements

##MongoDB You need an instance of MongoDB running. So if you do not have it, please read the document at this link MongoDB Quickstart for Windows

##Download Hermes You can download Hermes's source code using Git from this repository "git@github.com:TellagoDevLabs/Hermes.git" If you do not have Git installed, you should check these links:

##Open and compile Hermes's solution Open the Hermes.sln file located at 'src' folder, then compile the solution. The first compilation will take more time than the expected because Visual Studio will download many libraries from NuGet.

##Running Hermes from Visual Studio Before you can launch Hermes from Visual Studio, you must validate the connection string that Hermes will use to connect to MongoDB. The connection string is located at web.config file within the RestService project, its default value is:

<connectionStrings>
    <add name="db.connectionString" connectionString="mongodb://localhost/hermes" />
</connectionStrings>

As you can see, with the default value, Hermes will try to connect to a MongoDb instance running in the same computer and on its default TCP port 27017.

Tha latest thing to do is hit F5 key and Hermes will be running on http://localhost:6156 and an administration portal on http://localhost:6156/admin