Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 906 Bytes

README.md

File metadata and controls

39 lines (26 loc) · 906 Bytes

ComputeHorde Miner


Skeleton of this project was generated with cookiecutter-rt-django, which sometimes gets upgrades that are easy to retrofit into already older projects.

Run production instance

Runner

Most straightforward option is to use a "miner-runner" docker image which will launch everything automatically and will handle auto-updates. See runner README for more details.

Docker-compose

Alternatively, you can use docker-compose to launch all the necessary services manually. See docker-compose.yml for reference.

Setup development environment

# 1st tab
$ python -m venv venv
$ source venv/bin/activate
$ ./setup-dev.sh
# 2nd tab
docker-compose up
# 1st tab
cd app/src
python manage.py wait_for_database --timeout 10
python manage.py migrate
python manage.py runserver