Dockerized Lepus Score Server
Docker + Docker Compose
curl -sSL https://get.docker.com/ | sh
- See https://docs.docker.com/compose/install/ or
pip install -U docker-compose
Use Docker Toolbox
git clone https://github.com/lepus-ctf/lepus-api-docker.git
cd lepus-api-docker
docker-compose up
ordocker-compose -d up
for daemonize.- Open
http://hostname:8000/api/
for testing.
docker-compose run api python manage.py migrate
to create tables.docker-compose run api python manage.py createsuperuser
to create superuser.