mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-17 04:09:25 +08:00
Update README.md and fix deployment step in .woodpecker.yml
This commit is contained in:
parent
752add642f
commit
44ba296353
3 changed files with 5 additions and 4 deletions
|
@ -4,4 +4,3 @@ dumps/
|
||||||
media/
|
media/
|
||||||
TODO.md
|
TODO.md
|
||||||
.env
|
.env
|
||||||
documentation/
|
|
|
@ -25,8 +25,9 @@ steps:
|
||||||
- ssh root@10.0.10.4 '
|
- ssh root@10.0.10.4 '
|
||||||
cd $PROJECT_DIR;
|
cd $PROJECT_DIR;
|
||||||
docker-compose down;
|
docker-compose down;
|
||||||
docker image rm git.keannu1.duckdns.org/keannu125/drf_template;
|
docker image rm git.keannu1.duckdns.org/keannu125/drf_template || true;
|
||||||
docker volume rm git.keannu1.duckdns.org/keannu125/drf_template_db_data;
|
docker pull git.keannu1.duckdns.org/keannu125/drf_template:latest;
|
||||||
|
docker volume rm git.keannu1.duckdns.org/keannu125/drf_template_db_data || true;
|
||||||
docker compose up -d'
|
docker compose up -d'
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
## DRF-Template
|
## DRF-Template
|
||||||
|
|
||||||
![Build Status](https://woodpecker.06222001.xyz/api/badges/3/status.svg)
|
![Build Status](https://woodpecker.06222001.xyz/api/badges/3/status.svg)
|
||||||
|
![Demo Page Status](https://kuma.keannu5.duckdns.org/api/badge/119/status)
|
||||||
|
|
||||||
This is a Django template that I personally use for my projects. This covers the following
|
This is a Django template that I personally use for my projects. This covers the following
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue