Docker gives you an early way.
We use Django
to generate a web service to solve the choreograph's request for MINI. So you can post your music to a Django in docker that it will run your request.
Docker: https://www.docker.com/
Docker-compose: https://docs.docker.com/compose/install/
git clone https://github.com/Dongbox/Plan2Dance_docker.git
cd Plan2Dance_docker
docker-compose pull
docker-compose build
docker-compose up -d
It needs some time and wait for it over.
docker logs p2d_backend
If not the error in the output, that`s ok, else use docker restart p2d_backend
to restart the container.
If migrations don't initial in MySQL database,
docker exec -it p2d_backend bash
python3 manage.py migrate
that will migrate the projects` models to database.
cd GUI/Plan2Dance
pip3 install -r requirements.txt
python3 win_main.py
git clone https://github.com/Dongbox/Plan2Dance_docker.git
If you are using windows, you can download the .exe program in "https://github.com/Dongbox/Plan2Dance_docker/releases/download/0.0.1/Plan2Dance-qt-win-online.0.0.1.zip"
cd GUI/Plan2Dance
pip3 install -r requirements.txt
python3 win_main.py
More infomation in https://github.com/Dongbox/Plan2Dance_docker/wiki