mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-13 00:24:42 +08:00
Updated Setup guide (markdown)
parent
4041422f99
commit
73410a30ee
1 changed files with 8 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue