forked from coop-cloud/funkwhale
document manual work-around for dist
This commit is contained in:
parent
657db0378d
commit
d2627eab32
11
README.md
11
README.md
@ -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`
|
||||
|
@ -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 "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user