-
Notifications
You must be signed in to change notification settings - Fork 10
Test and production environments
Massimo edited this page Jan 22, 2019
·
8 revisions
- Install Docker;
- In your terminal launch the following commands:
git clone https://github.com/Wikidata/soweego.git
cd soweego-
./scripts/docker/launch_test.sh; - you are now in a Docker container BASH shell with a fully working soweego instance.
The test environment comes with a running MariaDB instance.
-
docker exec -it soweego_db_1 /bin/bash; -
mysql -uroot -hlocalhost -pdba soweego.
-
./scripts/docker/launch_prod.sh; - 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.