Skip to content

Commit

Permalink
Clarify how to get started with settings_local.py
Browse files Browse the repository at this point in the history
  • Loading branch information
machristie committed Jan 13, 2022
1 parent bebb680 commit 4ef9337
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,21 @@ information on how to install yarn.
2. Create a local settings file.
- You can either copy `django_airavata/settings_local.py.sample` to
- Option 1 (**recommended**). The best way to get a local settings file is
to download one from an existing Airavata Django Portal instance. If you
have Admin access, you can log in, go to _Settings_ and then _Developer
Console_ (/admin/developers) and download a `settings_local.py` file for
local development. Save it to the `django_airavata/` directory.
- Option 2. Otherwise, if you know the hostname and ports of an Airavata
deployment, you can copy `django_airavata/settings_local.py.sample` to
`django_airavata/settings_local.py` and edit the contents to match your
Keycloak and Airavata server deployments.
```
cp django_airavata/settings_local.py.sample django_airavata/settings_local.py
```
- Or, if you have Admin access to an Airavata Django Portal instance, you
can log in, go to _Settings_ and then _Developer Console_
(/admin/developers) and download a `settings_local.py` file for local
development. Save it to the `django_airavata/` directory.
3. Run Django migrations
```
Expand Down

0 comments on commit 4ef9337

Please sign in to comment.