Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Production set up

Chris edited this page Feb 28, 2017 · 1 revision

Prerequisities

Before diving into this section, please ensure you know how to run the tool in the simpler dev mode.

Bluemix

Bluemix is a Cloud Foundry based, run and managed by IBM, PaaS. It offers decent features and reasonable free quota, and what's more - it looks like the platform of the future. Once you sign-up, install command line tools, and we are ready to go. Any cloud foundry platform should do.

Steps

  • git clone https://github.com/cdaniel/atlas2.git
  • cd atlas2
  • npm install
  • Configure the database - you have to configure a mongodb service and give it name mongodb-atlas2main. The tool will automagically figure out all the details.
  • webpack -p - most likely, your server will not compile react files on the fly (it would not be a good idea, anyway), so it is necessary to prebuild them.
  • cf push - deploy. Ensure the PRODUCTION flag is set on the server.
Clone this wiki locally