4 Get started
Raccoon edited this page 2017-02-26 17:19:49 +08:00

Get started (Run from source code)

We support docker deployment and Heroku Deployment.

  1. Download a release and unzip or clone into a directory
  2. Enter the directory and type bin/setup, which will install npm dependencies and create configs. The setup script is written in Bash, you would need bash as a prerequisite.
  3. Setup the configs, see Configuration Files and Application Settings
  4. Setup environment variables which will overwrite the configs
  5. Build front-end bundle by npm run build (use npm run dev if you are in development)
  6. Run the server as you like (node, forever, pm2)