- Git
- NodeJS and npm
- Heroku Toolbelt
- A Heroku user account (see step 1,2 and 3)
git clone https://github.com/ismarslomic/ads-cms-frontend.git
cd ads-cms-frontend
heroku login // only first time
git clone git@heroku.com:ads-cms-frontend.git distHeroku
npm install
grunt build:heroku
cd distHeroku
node server
You should be able to see the ADS CMS by open a web browser and go to http://localhost:5000/
All of these tasks should be ran from the root folder of the project.
grunt build:heroku
- builds and optimization of the code in app folder. Destination folder is distHerokugrunt deploy:heroku
- build and deploy of distHeroku folder to Heroku application ads-cms-frontendgrunt run:heroku
- scales the Heroku application to 1 dyno and runs it in the web browsergrunt stop:heroku
- scales the Heroku application down to 0 dyno and stops the application
- Heroku application: http://ads-cms-frontend.herokuapp.com/
- Heroku GIT: git@heroku.com:ads-cms-frontend.git