Source code for art installation Laastutabloo in Estonian National Museum.
Released here for self documentation and educational purposes.
sudo timedatectl set-timezone Europe/Tallinn
sudo apt update
sudo apt install -y docker.io docker-compose apache2-utils
sudo mkdir /opt/laastutabloo
cd /opt && git clone https://github.com/timotoots/laastutabloo.git
cd laastutabloo
nano .env
- Configuration for datasets, providers and scripts are imported during setup.
- Check
config/datasets/
for public datasets. - Create file
config/datasets_private.json
for private datasets. This file is not version controlled.
htpasswd -c config/nginx/htpasswd username
./init_project.sh
sudo cp config/laastutabloo.service /etc/systemd/system/
sudo systemctl enable laastutabloo
sudo systemctl start laastutabloo
https://laastutabloo.erm.ee/admin
docker-compose logs -f --tail=50 datastore scrapyd
docker-compose logs -f --tail=50 curator
sudo systemctl restart laastutabloo
docker-compose restart curator
docker-compose restart nginx
docker-compose stop curator
docker-compose up curator
docker-compose run --service-ports
docker-compose run datastore python3 /opt/laastutabloo/backend/datastore/dataset_db_to_json_dumper.py --output /output --providers --scripts --queries datasets2
git add /opt/laastutabloo/output/*
git commit -m "backup config"
git pull
git push
config/datasets_private.json