Skip to content
This repository has been archived by the owner. It is now read-only.

Made the changes in the database URL example #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
DATABASE_URL="postgresql://postgres:cv@localhost:5432/mlh-hackathon-starter-flask"
GITHUB_CLIENT_ID="*********************"
GITHUB_CLIENT_SECRET="************************"
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ celerybeat-schedule
*.sage.py

# Environments
.env
.venv
env/
venv/
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ You need to be able to connect to a database either on your own computer (locall
You will need to know the connection URL for your application which we will call `DATABASE_URL` in your environment variables. Here is an example:

```
postgresql://localhost:5432/mlh-hackathon-starter-flask
postgresql://Username:password@localhost:5432/mlh-hackathon-starter-flask

```
Here the credentials are of pg admin username and password.

**Step 5: Update environment variables and run the Server.**

Expand Down