- Install Tool Dependencies
- Install Node.js on your machine ( version? )
- Install Grunt on your machine
- Install Ruby on your machine
- Install Sass
- Note: Certificate issue - Use "gem install sass --source http://rubygems.org"
- Install Bower on your machine
- Install MongoDB on your machine
- Note: Set up MongoDB environment
- Create a Folder on "C:\data\db" to hold the db files (or set your dbpaths)
- Launch your DB process, i.e. Windows: "C:\Program Files\MongoDB\Server\3.2\bin\mongod.exe"
- Note: Set up MongoDB environment
-
Download Code Dependencies
- Run
npm install
on the root folder - Run
bower install
on the root folder
- Run
-
Set your configurations
- Add a
config.js
to your root folder - Copy the following into the file and edit accordingly:
- Add a
module.exports = function(){
process.env.MONGODB_CONNECTION_STRING = 'mongodb://localhost:27017/app_test';
process.env.IP_ADDRESS = '127.0.0.1';
process.env.PORT_NUMBER = 3000;
process.env.APP_SECRET = 'Secret';
}();
- Launch your HTTP server
- Run
grunt
on the root folder
- Access the app on a HTTP server
- Launch a browser and navigate to the ip and port you specified i.e. "127.0.0.1:3000"