These instructions are to get setup on any Docker-compatible machine with the content available from the latest public content release.
The resulting instance is meant for development purposes, and should not be used for production instances.
- Install docker
- Install docker compose
- run
docker build -t gcis .
- Go get some tea.
- run
mkdir -p files/assets-back
- Setup postgres alone first
- If you have an existing postgres container, run
docker rm gcis_postgres_1
- Download the latest public content release
- Untar the files
- the
schema
file should be moved to./db/docker/2_schema.sql
- the
content_1
file should be moved to./db/docker/3_content_1.sql
- the
content_2
file should be moved to./db/docker/4_content_2.sql
- if you want an empty GCIS instance, only copy the schema & content 1.
- the
- run
docker-compose up postgres &
- Refresh your tea.
- after the previous command finishes loading, run
docker-compose stop
- If you have an existing postgres container, run
- Start the full docker set
- run
docker-compose up
- GCIS should be available at
127.0.0.1
with all content available - Login via the
password
option. Credentials aredocker@example.com
/docker
- run