mirror of https://github.com/MieuxVoter/mvapi
A mirror of the Github repository, for backup purposes.
https://github.com/MieuxVoter/mvapi
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gilles Pavan
1000bb7099
|
5 years ago | |
---|---|---|
election | 5 years ago | |
mvapi | 5 years ago | |
Dockerfile | 5 years ago | |
README.md | 5 years ago | |
build.sh | 5 years ago | |
db.sqlite3 | 5 years ago | |
docker-compose.yml | 5 years ago | |
makemigrations.sh | 5 years ago | |
manage.py | 5 years ago | |
migrate.sh | 5 years ago | |
requirements.txt | 5 years ago | |
test.sh | 5 years ago |
README.md
Build the docker image
sudo ./build.sh
Run the docker container
sudo docker-compose up -d
Initialize the database
sudo ./makemigrations.
sudo ./migrate.sh
Run the tests
sudo ./test.sh