|
|
Install git, docker and docker-compose
|
|
|
|
|
|
Fetch the source:
|
|
|
$ git clone git@gitlab.inria.fr:scripta/escriptorium.git
|
|
|
|
|
|
$ git clone git@gitlab.inria.fr:scripta/escriptorium.git `
|
|
|
|
|
|
Copy the environement variables file
|
|
|
|
|
|
$ cd escriptorium && cp variables.env_example variables.env
|
|
|
|
|
|
change some of those if you wish to
|
|
|
Change some of those variables if you wish to,
|
|
|
notably the super-user username and password are created from `DJANGO_SU_NAME` and `DJANGO_SU_PASSWORD`, defaulting to admin:admin.
|
|
|
|
|
|
Build and run the docker containers
|
|
|
|
|
|
$ docker-compose up -d --build
|
|
|
|
|
|
You should be able to access the website at http://localhost:8080/
|
|
|
|
|
|
To update:
|
|
|
|
|
|
$ git pull
|
|
|
$ docker-compose up -d --build
|
|
|
|
... | ... | |