diff --git a/.env b/.env new file mode 100644 index 0000000..e5f74b5 --- /dev/null +++ b/.env @@ -0,0 +1,3 @@ +DATABASE_URL="postgresql://postgres:cv@localhost:5432/mlh-hackathon-starter-flask" +GITHUB_CLIENT_ID="*********************" +GITHUB_CLIENT_SECRET="************************" diff --git a/.gitignore b/.gitignore index 894a44c..8bc1d55 100644 --- a/.gitignore +++ b/.gitignore @@ -82,7 +82,6 @@ celerybeat-schedule *.sage.py # Environments -.env .venv env/ venv/ diff --git a/README.md b/README.md index afcf162..5f9db95 100644 --- a/README.md +++ b/README.md @@ -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.**