diff --git a/README.md b/README.md index 8c7c108..de17474 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,14 @@ * `abra app deploy ` For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech). + +## Tips & Tricks + +### First deployment + +Before you deploy: `abra app cmd secrets --local` + +After you deploy: +- `cp -r frontend/* /srv/funkwhale/front/dist` +- `abra app cmd api migrate` +- `abra app cmd api admin` diff --git a/entrypoint.sh.tmpl b/entrypoint.sh.tmpl index 05a6318..f0c7f16 100644 --- a/entrypoint.sh.tmpl +++ b/entrypoint.sh.tmpl @@ -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 "$@"