Files
Django_kube/django_testing/entrypoint.sh
T
pi-ux-ce 51769fb08a
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
avoid untracked files
2026-06-17 14:54:01 +01:00

16 lines
305 B
Bash

#!/bin/bash
cd Django_kube
#another methid but needs to rm -rf before
#git clone --depth 1 -b main https://gitea.tryton.geeraert.eu/pi-ux-ce/Django_kube.git
git stash
git pull
pip install -r requirements.txt
python django_code/manage.py migrate
python django_code/manage.py runserver "0.0.0.0:8000"