Commit a72ec58 1 parent 4d78d78 commit a72ec58 Copy full SHA for a72ec58
File tree 4 files changed +3
-17
lines changed
4 files changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,6 @@ rm -f django.db
10
10
11
11
python manage.py migrate
12
12
13
- # load config data
14
-
15
- python manage.py loaddata ${DJANGO_INIT_PATH:- fixtures/ ??_* .json}
16
-
17
13
# create a superuser account for backend admin access
18
14
# check DJANGO_ADMIN = true, default to false if empty or unset
19
15
Original file line number Diff line number Diff line change @@ -73,16 +73,6 @@ Boolean:
73
73
files are served
74
74
- ` False ` (default): the application is launched with debug mode turned off, similar to how it runs in production
75
75
76
- ### ` DJANGO_INIT_PATH `
77
-
78
- !!! warning "Deployment configuration"
79
-
80
- You may change this setting when deploying the app to a non-localhost domain
81
-
82
- The path to the fixture file(s) used to initialize the Django configuration database.
83
-
84
- See [ Fixtures] ( fixtures.md ) for more.
85
-
86
76
### ` DJANGO_LOCAL_PORT `
87
77
88
78
!!! info "Local configuration"
Original file line number Diff line number Diff line change @@ -61,8 +61,7 @@ you setup as part of initialization.
61
61
62
62
By default, [ sample data] [ sample-data ] is used to initialize Django. Alternatively you may:
63
63
64
- - Modify the sample data file(s); or
65
- - Override the ` DJANGO_INIT_PATH ` environment variable with different data file(s); or
64
+ - Modify the [ migration file] [ data-migration ] that handles data migration
66
65
- (If ` DJANGO_ADMIN=true ` ) use the backend administrative interface CRUD
67
66
68
67
Stop the running services with:
@@ -73,3 +72,5 @@ docker compose down
73
72
74
73
[ docker ] : https://www.docker.com/products/docker-desktop
75
74
[ sample-data ] : https://github.com/cal-itp/benefits/tree/dev/fixtures
75
+
76
+ [ data-migration] ( https://github.com/cal-itp/benefits/tree/dev/benefits/core/migrations )
Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ resource "azurerm_linux_web_app" "main" {
51
51
# custom config
52
52
" ANALYTICS_KEY" ,
53
53
" DJANGO_ALLOWED_HOSTS" ,
54
- " DJANGO_INIT_PATH" ,
55
54
" DJANGO_LOG_LEVEL" ,
56
55
" DJANGO_TRUSTED_ORIGINS" ,
57
56
You can’t perform that action at this time.
0 commit comments