Skip to content

Commit 15caba2

Browse files
committed
docs: remove mention of deprecated env variables
1 parent 7f61c78 commit 15caba2

4 files changed

Lines changed: 4 additions & 37 deletions

File tree

docs/guides/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ Compiler developers, be sure to follow the instructions in the [Django Admin upd
128128

129129
If you have a need to maintain some test data that you've added via the Django Admin across multiple development sessions:
130130

131-
1. Set `DJANGO_DB_RESET=false` in your `.env` file
132131
1. Create a new set of temporary fixtures:
133132
```bash
134133
python manage.py dumpdata --indent 2 --output benefits/core/migrations/temp_fixtures.json
135134
```
135+
136136
- It's important that the filename end in `fixtures.json` so that it's ignored by Git.
137137
1. Set `DJANGO_DB_FIXTURES` to the path of the new file you just created in `.env`
138138
1. Rebuild the devcontainer

docs/guides/postgresql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ To manage backups, use the app container's `web-storage` mounted volume.
2121

2222
```bash
2323
# copy a backup into the mounted volume
24-
cp db_data.json /home/calitp/app/data/db_data_YYY_MM_DD.json
24+
cp /calitp/app/db_data.json /calitp/app/data/db_data_YYY_MM_DD.json
2525

2626
# copy a backup from the mounted volume
27-
cp /home/calitp/app/data/db_data_YYY_MM_DD.json db_data.json
27+
cp /calitp/app/data/db_data_YYY_MM_DD.json /calitp/app/db_data.json
2828
```
2929

3030
You can view the files in the mounted volume (and upload new ones) by navigating to Azure > Storage account > Data storage > Classic file shares > `web-storage` > Browse.

docs/guides/troubleshooting.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,4 @@ A common problem that causes Littlepay API failures is that the certificate expi
7575

7676
### Eligibility Server
7777

78-
If the Benefits application gets a 403 error when trying to make API calls to the [Eligibility Server](https://docs.calitp.org/eligibility-server/), it may be because the outbound IP addresses changed, and the Eligibility Server firewall is still restricting access to the old IP ranges.
79-
80-
1. Grab the `outbound_ip_ranges` `output` values from the most recent Benefit [deployment](https://calenterprise.visualstudio.com/CDT.OET.CAL-ITP/_build?definitionId=828) to the relevant environment.
81-
1. Update the IP ranges
82-
1. Go to the [Eligibility Server Pipeline](https://dev.azure.com/mstransit/courtesy-cards/_build?definitionId=1&_a=summary)
83-
1. Click `Edit`
84-
1. Click `Variables`
85-
1. Update the relevant variable with the new list of CIDRs
86-
87-
Note there is nightly downtime as the Eligibility Server restarts and loads new data.
78+
Note there is nightly downtime as the [Eligibility Servers](https://docs.calitp.org/eligibility-server/) restart and load new data.

docs/reference/environment-variables.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -197,30 +197,6 @@ Boolean:
197197
- `true`: the `DATABASES` Django setting is configured to use Postgres (see [`Django database (Postgres)`](#django-database-postgresql))
198198
- `false` (default): the `DATABASES` Django setting is configured to use SQLite (see [`Django database (SQLite)`](#django-database-sqlite))
199199

200-
## Django database (SQLite)
201-
202-
### `DJANGO_DB_FILE`
203-
204-
!!! info "Local configuration"
205-
206-
This setting only affects the app running on localhost
207-
208-
The name of the Django database file to use locally (during both normal app startup and for resetting the database).
209-
210-
By default, `django.db`.
211-
212-
### `DJANGO_DB_RESET`
213-
214-
!!! info "Local configuration"
215-
216-
This setting only affects the app running on localhost
217-
218-
Boolean:
219-
220-
- `true`: deletes the existing database file and runs fresh Django migrations.
221-
- `false` (default): Django uses the existing database file.
222-
(Note: Fixtures will still be loaded, updating any values on those objects if they have changed.)
223-
224200
## Django database (PostgreSQL)
225201

226202
### `DJANGO_DB_NAME`

0 commit comments

Comments
 (0)