{{ fancy travis/npm/etc badges to come soon }}
Demo: angular-blog-demo.herokuapp.com
Built using Yeoman and the Angular-FullStack generator. Utilizes the following 'options' from the generator...
- MongoDB w/ Mongoose ORM
- OAuth
- Socket.IO
- Angular w/ uiRouter instead of ngRoute
- Jade
- Stylus
- Coffeescript
- !IMPORTANT - Generalize internal naming and references
- Nested Comments
- Admin Password Reset Functionality
- Add Like to Post
- Add like to Comments
- Install Brew (homepage)
- Install mongod using this command
brew install mongodb
- Set permissions to the data directory (if needed)
sudo chmod 0755 /data/db
- Run mongod
mongod
- In a terminal window, navigate to the app's folder.
- Optional: Run
rm -rf node_modules && npm cache clean
- Run
npm install
- Run
bower install
- Done!
- Run
grunt
to confirm everything builds correctly. For Unit Test failures; you can add an optional-f
to force. - Then run
grunt serve
to see everything run! - That's it :)
In order to have the site operate expectedly environment variables are used. These are defined in server > config > environment
. You can set local environment variables for testing by creating a 'local.env.js' file within the server > config
directory; a sample is available for reference!
On every environment the following ENV_VARS must be set...
- S3_FOLDER
- S3_BUCKET
- S3_KEY
- S3_SECRET
- NODE_ENV (must be 'production' outside of local testing)
Brought to you by Inkhorn Games
Developed for our upcoming game Order of Ancients (subreddit).