Skip to content

Commit e60bb2b

Browse files
authored
Merge pull request #20 from CodeForPhilly/ts/add-env-sample
Add env sample
2 parents 0b6b69c + e4b96cf commit e60bb2b

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

.env.sample

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
PGDATABASE=""
2+
PGUSER=""
3+
PGPASSWORD=""
4+
PGHOST=""
5+
PGPORT=""
6+
THIRDPLACES="THIRDPLACES"

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,19 @@ In order to run this app, you will need to have the following libraries installe
3030

3131
Note: These installations will not be required locally once we have the project containerized, the container will hand that.
3232

33+
### Create .env file
34+
35+
#### Why a .env?
36+
We will be using a `.env` file to share environment variables with each of the Docker containers and separate our environment variables from our code.
37+
38+
#### Make the actual file
39+
40+
Duplicate the `.env.sample` file and rename it to `.env`
41+
42+
#### Note
43+
44+
The `.env` file is ignored by git and so any changes will have to be communicated to the team to make sure API keys etc. stay aligned from dev to dev.
45+
3346
### Start the servers
3447

3548
To run all servers (React, Django, & PostgreSQL):

0 commit comments

Comments
 (0)