Giter Site home page Giter Site logo

rajanjs / angular-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wonderkiln/angular-blog

0.0 2.0 0.0 1.39 MB

AngularJS ready-to-deploy blog w/ Admin Panel

Home Page: http://inkhorngames.github.io/angular-blog

License: MIT License

JavaScript 67.24% ApacheConf 5.51% CoffeeScript 4.31% HTML 5.07% CSS 17.87%

angular-blog's Introduction

angular-blog

{{ fancy travis/npm/etc badges to come soon }}

Preview of Homepage and Admin

HomepageAdmin

Demo

Demo: angular-blog-demo.herokuapp.com

Description

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

PreProcessor Languages

  • Jade
  • Stylus
  • Coffeescript

Features

  • !IMPORTANT - Generalize internal naming and references
  • Nested Comments
  • Admin Password Reset Functionality
  • Add Like to Post
  • Add like to Comments

How to run the project

I. Install the DB

  1. Install Brew (homepage)
  2. Install mongod using this command brew install mongodb
  3. Set permissions to the data directory (if needed) sudo chmod 0755 /data/db
  4. Run mongod mongod

Install Node and Bower Packages

  1. In a terminal window, navigate to the app's folder.
  2. Optional: Run rm -rf node_modules && npm cache clean
  3. Run npm install
  4. Run bower install
  5. Done!

II. Run the app

  1. Run grunt to confirm everything builds correctly. For Unit Test failures; you can add an optional -f to force.
  2. Then run grunt serve to see everything run!
  3. That's it :)

Configuration Details

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).

Connect with us: Facebook | Twitter | Youtube

angular-blog's People

Contributors

austinkettner avatar jfreax avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.