Note: All commands entered need to be performed from within this directory.
-
Ensure you have a clean directory to dedicate as to a database (e.g.
C:\database
or~/database/
). -
From this repository's directory, run the following command to launch the MongoDB process.
<MONGO_INSTALL_DIRECTORY>/bin/mongod --dbpath <PATH_TO_DB_DIRECTORY>
-
Install TypeScript globally:
sudo npm install -g typescript
-
From this directory, install the app's node dependencies, tsd, and typings with the following commands:
npm install npm install -g tsd tsd install
-
Before compiling the app you may have to change permissions (default is 744 after tsd install) to the typings directory.
chmod -R 774 typings
-
Compile the app with the following command:
tsc
-
Launch the Node process to serve the app using the following command from the root folder:
node server
-
Open Google Chrome or Mozilla Firefox and navigate to
http://localhost:3000/
to access the app.