You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the next steps, always remember to replace {{project_name}} with your project's name (in case it isn't yet):
78
78
- [ ] Above: don't forget the `--extension` and `--name` params!
@@ -88,14 +88,14 @@ After completing ALL of the above, remove this `Project bootstrap` section from
88
88
- Setup [editorconfig](http://editorconfig.org/), [ruff](https://github.com/astral-sh/ruff) and [ESLint](http://eslint.org/) in the text editor you will use to develop.
89
89
90
90
### Setup
91
-
- Inside the `backend` folder, do the following:
92
-
- Create a copy of `{{project_name}}/settings/local.py.example`:
- Open the `/backend/.env` file on a text editor and uncomment the line `DATABASE_URL=postgres://{{project_name}}:password@db:5432/{{project_name}}`
98
+
- Open the `backend/.env` file on a text editor and uncomment the line `DATABASE_URL=postgres://{{project_name}}:password@db:5432/{{project_name}}`
99
99
- Open a new command line window and go to the project's directory
100
100
- Run the initial setup:
101
101
`make docker_setup`
@@ -131,7 +131,7 @@ After completing ALL of the above, remove this `Project bootstrap` section from
131
131
- This is used to serve the frontend assets to be consumed by [django-webpack-loader](https://github.com/django-webpack/django-webpack-loader) and not to run the React application as usual, so don't worry if you try to check what's running on port 3000 and see an error on your browser
132
132
133
133
#### Setup the backend app
134
-
- Open the `/backend/.env` file on a text editor and do one of the following:
134
+
- Open the `backend/.env` file on a text editor and do one of the following:
135
135
- If you wish to use SQLite locally, uncomment the line `DATABASE_URL=sqlite:///backend/db.sqlite3`
136
136
- If you wish to use PostgreSQL locally, uncomment and edit the line `DATABASE_URL=postgres://{{project_name}}:password@db:5432/{{project_name}}` in order to make it correctly point to your database URL
137
137
- The url format is the following: `postgres://USER:PASSWORD@HOST:PORT/NAME`
0 commit comments