Updated Setup guide (markdown)

okriuchykhin 2017-06-13 15:04:11 +02:00
parent 4041422f99
commit 73410a30ee

@ -255,6 +255,14 @@ So basically sequence of commands to setup SciNote(for fresh install) is:
`docker-compose -f ./docker-compose.production.yml up`
## Upgrading SciNote installation running in production mode
First of all it is needed to rebuild docker images using new version of SciNote. Stop existing instance(if it is running).Than just run `make docker-production` in order to rebuild images.
Now it is needed to migrate data in database. Open command prompt inside web container with `make cli-production` and inside it run migrations with `rake db:migrate`.
After migrations finished you can start application in normal way with `docker-compose -f ./docker-compose.production.yml up`.
On rare occasion it is needed to run additional migration scripts, please check Release Notes for that.
## Deploy onto Heroku
Before deploying to Heroku, install heroku client as describe on offical website. To use existing heroku application, add new git remote repository.