document manual work-around for dist

This commit is contained in:
decentral1se 2022-05-10 15:38:00 +02:00
parent 657db0378d
commit d2627eab32
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 11 additions and 3 deletions

View File

@ -22,3 +22,14 @@
* `abra app deploy <app-name>`
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
## Tips & Tricks
### First deployment
Before you deploy: `abra app cmd <app> secrets --local`
After you deploy:
- `cp -r frontend/* /srv/funkwhale/front/dist`
- `abra app cmd <app> api migrate`
- `abra app cmd <app> api admin`

View File

@ -29,9 +29,6 @@ export DATABASE_URL="postgres://funkwhale:$DATABASE_PASSWORD@db:5432/funkwhale"
file_env "DJANGO_SECRET_KEY"
# https://dev.funkwhale.audio/funkwhale/funkwhale/-/issues/1784
cp -r frontend/* /srv/funkwhale/front/dist
# upstream entrypoint
# https://dev.funkwhale.audio/funkwhale/funkwhale/-/blob/develop/api/Dockerfile
/app/compose/django/entrypoint.sh "$@"