https://github.com/USGCRP/gcis
Global Change Information System
https://github.com/USGCRP/gcis
climate-science government-data mojolicious perl provenance rose-db semantic-web
Last synced: 6 months ago
JSON representation
Global Change Information System
- Host: GitHub
- URL: https://github.com/USGCRP/gcis
- Owner: USGCRP
- License: other
- Created: 2014-05-20T23:40:56.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2025-02-11T23:44:53.000Z (over 1 year ago)
- Last Synced: 2025-11-18T21:04:19.834Z (7 months ago)
- Topics: climate-science, government-data, mojolicious, perl, provenance, rose-db, semantic-web
- Language: Perl
- Homepage: https://data.globalchange.gov
- Size: 6.32 MB
- Stars: 21
- Watchers: 11
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.docker.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- open-sustainable-technology - GCIS - As a centralized catalog of all materials and data used for Global Change Information System products and climate assessments. (Sustainable Development / Data Catalogs and Interfaces)
README
## 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](https://www.docker.com/)
1. Install [docker compose](https://docs.docker.com/compose/install/)
1. run `docker build -t gcis .`
- Go get some tea.
1. run `mkdir -p files/assets-back`
1. Setup postgres *alone* first
1. If you have an existing postgres container, run `docker rm gcis_postgres_1`
1. Download the latest [public content release](https://github.com/USGCRP/gcis/releases)
1. Untar the files
1. the `schema` file should be moved to `./db/docker/2_schema.sql`
1. the `content_1` file should be moved to `./db/docker/3_content_1.sql`
1. 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.
1. run `docker-compose up postgres &`
- Refresh your tea.
1. after the previous command finishes loading, run `docker-compose stop`
1. Start the full docker set
1. run `docker-compose up`
1. GCIS should be available at `127.0.0.1` with all content available
1. Login via the `password` option. Credentials are `docker@example.com`/`docker`