Skip to content

Commit

Permalink
Merge pull request #1491 from LibraryOfCongress/1471-Developer-Docs
Browse files Browse the repository at this point in the history
adding env variables before docker-compose
  • Loading branch information
rabiloc committed Jun 25, 2021
2 parents 80d1e6f + e42ea25 commit fb8c84e
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions docs/for-developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ stack templates.

```bash
git clone https://github.com/LibraryOfCongress/concordia.git
cd concordia
docker-compose up
```

Browse to [localhost](http://localhost)

If you're intending to edit static resources, templates, etc. and would like to
enable Django's DEBUG mode ensure that your environment has `DEBUG=true` set
Expand Down Expand Up @@ -58,6 +55,19 @@ Both the `Pipfile` and the `Pipfile.lock` files must be committed to the source
code repository any time you change them to ensure that all testing uses the
same package versions which you used during development.

```bash
POSTGRESQL_PW=password
DJANGO_SETTINGS_MODULE=concordia.settings_dev
```


```bash
cd concordia
docker-compose up
```

Browse to [localhost](http://localhost)

#### Setting up a local development server

##### See section - [Ensuring your work follows the Library's coding standards](https://github.com/LibraryOfCongress/concordia/blob/master/docs/how-we-work.md#ensuring-your-work-follows-the-librarys-coding-standards) in How We Work
Expand Down

0 comments on commit fb8c84e

Please sign in to comment.