mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 12:30:15 +02:00
note the container name changes after refactor
This commit is contained in:
parent
2418023ddd
commit
036a17ad3b
@ -14,7 +14,7 @@ You should have the following available on the system you are using to set this
|
||||
1. run `./scripts/prepare-env.sh` to set up your environment
|
||||
1. (optional) Change `PROTOCOL` to `http://` if not using SSL in `.env`
|
||||
1. run `docker-compose --env-file=.env up -d` (NOTE: if this command hangs, follow the instructions [here](https://www.digitalocean.com/community/tutorials/how-to-setup-additional-entropy-for-cloud-servers-using-haveged))
|
||||
1. run `docker-compose exec allianceauth bash` to open up a terminal inside your auth container
|
||||
1. run `docker compose exec allianceauth-gunicorn bash` to open up a terminal inside your auth container
|
||||
1. run `auth migrate`
|
||||
1. run `auth collectstatic`
|
||||
1. run `auth createsuperuser`
|
||||
@ -57,7 +57,7 @@ Using a custom docker image is the preferred approach, as it gives you the stabi
|
||||
1. Add each additional package that you want to install to a single line in `conf/requirements.txt`. It is recommended, but not required, that you include a version number as well. This will keep your packages from magically updating. You can lookup packages on <https://package.wiki>, and copy everything after `pip install` from the top of the page to use the most recent version. It should look something like `allianceauth-signal-pings==0.0.7`. Every entry in this file should be on a separate line
|
||||
1. In `docker-compose.yml`, comment out the `image` line under `allianceauth` (line 36... ish) and uncomment the `build` section
|
||||
1. run `docker-compose --env-file=.env up -d`, your custom container will be built, and auth will have your new packages. Make sure to follow the package's instructions on config values that go in `local.py`
|
||||
1. run `docker-compose exec allianceauth_gunicorn bash` to open up a terminal inside your auth container
|
||||
1. run `docker compose exec allianceauth_gunicorn bash` to open up a terminal inside your auth container
|
||||
1. run `allianceauth update myauth`
|
||||
1. run `auth migrate`
|
||||
1. run `auth collectstatic`
|
||||
|
Loading…
x
Reference in New Issue
Block a user