Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.11 KB

README.md

File metadata and controls

49 lines (38 loc) · 1.11 KB

PuzzleBox

Coding puzzles for public enjoyment

Installation & Running

Option 1, running inside of a Vagrant virtual machine:

Requirements

  • Vagrant 1.2+

Instructions

  1. Run ./dev-server
  2. When finished hit ctrl-c twice
  3. Run vagrant destroy to clean up the VM

Option 2, running in a node environment local to your mac:

Requirements

Instructions

  1. Install requirements with npm install
  2. Startup mongodb with mongod --config mongod.conf
  3. Specify necessary environment variables
  4. Startup app with foreman start -f DevProcfile

Environment Variables

NODE_ENV development or production The environment that you're running in
HOST_PORT url The URL that the application is running on (for email links)
HASH_SECRET some string Salt used for session tokens and user ids