No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
model
public
routes
test
.gitignore
Dockerfile
app.js
config.js
docker-compose.yml
gruntfile.js
package.json
readme.md

readme.md

RecipeBox

Description

This is a simple recipe application I built to help me learn Node.js and AngularJS.

Stack

I am running this on the OpenShift platform from Red Hat. This is why there are references to OpenShift environment variables in the server config. It should easily run on any MongoDB + Node.js platform.

Requirements

The following dependencies that should be installed prior to setup

npm install -g grunt-cli

Building and Running

Install Server Dependencies

cd server
npm install
cd ..

Install Client Dependencies

cd client
npm install
cd ..

Server Build - Runs jshint and execute unit tests

cd server
grunt build

Build and test the client project

cd client
grunt
cd ..

Build and test a minified version of the client project

cd client
grunt release
cd ..

Copy client package to the server

cd server/public
cp -r ../../client/dist/* .
cd ..

Run the application

node app