Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 1.01 KB

File metadata and controls

31 lines (24 loc) · 1.01 KB

specio

Small app for generating buckets and storing requests

spectacles

Setup

Typical Setup

  1. Align configs.js and environment with Mongo info
  2. npm install
  3. npm start
  4. Navigate to localhost:<PORT_USED>/api-docs

Docker

$ docker-compose -f deploy/compose/docker-compose.yaml up --build

New Mongo DB setup (if using mlab)

  1. Visit https://mlab.com/home
  2. Click 'Create New'
  3. You can choose whatever free plan you like, (typically AWS)
  4. Create a db user in mlab (typically system:system1)
  5. Finally, copy the mongoUrl and dbName into the configs.js

Deploy

Execute npm run publish to publish to NOW

Protip: If you don't have Mongo, make sure to setup/install that first

  • After install, do $ mongo to kick off the Mongo shell and on prompt, type $ use neverland
  • Do $ mongod to start the db