Positron is Artsy Writer or the editorial tool for Artsy.
- State: production
- Production: https://www.artsy.net/ | Heroku
- Staging: https://staging.artsy.net/ | Heroku
- Github: https://github.com/artsy/positron/
- CI: Semaphore; merged PRs to artsy/positron#master are automatically deployed to staging; production is manually deployed from semaphore
- Point People: @craigspaeth, @kanaabe
- Install NVM
- Install Node 6
nvm install 6
nvm alias default 6
- Fork Positron to your Github account in the Github UI.
- Clone your repo locally (substitute your Github username).
git clone git@github.com:craigspaeth/positron.git && cd positron
- Install node modules
yarn install
-
Create a .env file in the root of the project and paste in sensitive configuration. You can copy the .env.example and fill in the sensitive config with the config vars from staging
heroku config --app=positron-staging
.( note: Leave non-sensitive configuration as it appears in the .env.example rather than copying over the config vars from
heroku config --app=positron-staging
. ) -
Positron uses MongoDB as a database. To install MongoDB using homebrew do the following, if you would prefer to install manually check the documentation at MongoDB
brew install mongodb
- Start the MongoDB database
mongod
- Install and run elasticsearch
brew install elasticsearch
elasticsearch -d
- Start the server
make s
- Positron should now be running at http://localhost:3005/
You can find additional documentation about Positron (deployments etc) in this repository's /doc directory.