Skip to content

Test and production environments

Massimo edited this page Jan 22, 2019 · 8 revisions

Get started

  1. Install Docker;
  2. In your terminal launch the following commands:
git clone https://github.com/Wikidata/soweego.git
cd soweego

Test environment

When should you use it?

What do you need to run it?

How do you run it?

  1. ./scripts/docker/launch_test.sh;
  2. you are now in a Docker container BASH shell with a fully working soweego instance.

Connect to the test database shell

The test environment comes with a running MariaDB instance.

  1. docker exec -it soweego_db_1 /bin/bash;
  2. mysql -uroot -hlocalhost -pdba soweego.

Launch the production environment

  1. ./scripts/docker/launch_prod.sh;
  2. if you want to override the production database credentials, pass the above script a JSON file formatted as per ${PROJECT_ROOT}/soweego/importer/resources/db_credentials.json.

Clone this wiki locally