Skip to content

alexprice1/discussion

Repository files navigation

Discussion App

Setup Environment

Install Node

Install nvm

Follow directions to install nvm.

Install Node

nvm install v4.2.3;
nvm alias default  v4.2.3;

Setup MongoDB

Follow install instructions.

Run Mongo from command line.

mongo

Then create the database.

use chalkpluschisel;

You can also use the environmental variable MONGO_URI to change the mongo uri.

Install Webpack

npm install webpack -g;

Install ESLint

npm install -g eslint;

Install Dependencies

npm install;

Reseed

npm run reseed;

Start Build

You have to run both webpack and the node server. Also, make sure mongo is running.

Node

npm run start;

Webpack

npm run develop;

Run Server

As long as you have built the project before, you only have to run node and have mongo running.

npm run start;

ESLint

We are using airbnb's styleguide for our linting.

npm run eslint;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages