Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 1.39 KB

README.docker.md

File metadata and controls

30 lines (26 loc) · 1.39 KB

Docker Instructions

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.

Steps

  1. Install docker
  2. Install docker compose
  3. run docker build -t gcis .
    • Go get some tea.
  4. run mkdir -p files/assets-back
  5. Setup postgres alone first
    1. If you have an existing postgres container, run docker rm gcis_postgres_1
    2. Download the latest public content release
    3. Untar the files
      1. the schema file should be moved to ./db/docker/2_schema.sql
      2. the content_1 file should be moved to ./db/docker/3_content_1.sql
      3. 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.
    4. run docker-compose up postgres &
      • Refresh your tea.
    5. after the previous command finishes loading, run docker-compose stop
  6. Start the full docker set
    1. run docker-compose up
    2. GCIS should be available at 127.0.0.1 with all content available
    3. Login via the password option. Credentials are docker@example.com/docker