brennanerbz / instaquiz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nightly

This is the client for Nightly, a tool that automates the way teachers create, assign and grade homework.

Installation

npm i

Running Development

npm run dev

Building and Running Production

npm run build npm run start

Deployment on Heroku

To get this project to work on Heroku, you need to:

  1. Remove the "PORT": 8080 line from the betterScripts / start-prod section of package.json.
  2. heroku config:set NODE_ENV=production
  3. heroku config:set NODE_PATH=./src
  4. heroku config:set NPM_CONFIG_PRODUCTION=false
  • This is to enable webpack to run the build on deploy.

The first deploy might take a while, but after that your node_modules dir should be cached.

About


Languages

Language:JavaScript 83.0%Language:CSS 17.0%