Skip to content
Snippets Groups Projects

setup and start the labels system's API

retrieve the application on gitlab repos

git clone --branch prototype_labelsTower git@gitlab.in2p3.fr:erichard/LabelsTower.git labels-back-end.git

setup the database

cd labels-back-end.git
cd docker
./build_dev.sh
./run_dev.sh /bin/bash
mkdir instance
python3 -c 'from models import db;db.create_all()'
mv test.db codingpool.db
sqlite3 codingpool.db '.read data_codingpool.sql'
mv codingpool.db instance/
exit

run the application

./run_dev.sh