This repository has been archived by the owner on May 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
Production set up
Chris edited this page Feb 28, 2017
·
1 revision
Before diving into this section, please ensure you know how to run the tool in the simpler dev mode.
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.
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 thePRODUCTION
flag is set on the server.