feat: prefer using the funkwhale-manage entrypoint
This replaces `poetry run python3 manage.py` with `venv/bin/funkwhale-manage`. Command running `venv/bin/funkwhale-manage` assume the current working directory is `/srv/funkwhale` on common deployments. In the funkwhale api docker image, the funwhale-manage command line interface is available globally.
This commit is contained in:
parent
75c9b1eabe
commit
14b5e137bd
25 changed files with 145 additions and 144 deletions
|
|
@ -18,8 +18,8 @@ tasks:
|
|||
|
||||
gp ports await 5432
|
||||
|
||||
poetry run python3 manage.py migrate
|
||||
poetry run python3 manage.py gitpod init
|
||||
poetry run funkwhale-manage migrate
|
||||
poetry run funkwhale-manage gitpod init
|
||||
command: |
|
||||
echo "MEDIA_URL=`gp url 8000`/media/" >> ../.gitpod/.env
|
||||
echo "STATIC_URL=`gp url 8000`/staticfiles/" >> ../.gitpod/.env
|
||||
|
|
@ -28,8 +28,8 @@ tasks:
|
|||
|
||||
docker-compose up -d
|
||||
gp ports await 5432
|
||||
poetry run python3 manage.py collectstatic --no-input
|
||||
poetry run python3 manage.py gitpod dev
|
||||
poetry run funkwhale-manage collectstatic --no-input
|
||||
poetry run funkwhale-manage gitpod dev
|
||||
|
||||
- name: Celery Worker
|
||||
env:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue