Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Midnight95 authored Oct 6, 2023
1 parent 1aa2d7a commit f2949df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ Page Analyzer is a web app that analyzes web pages for SEO suitability, similar
***

## Running the app
To use properly you'll need to provide it with a proper `$DATABASE_URL` and `$SECRET_KEY` vars.
To use app properly you'll need to provide it with `$DATABASE_URL` and `$SECRET_KEY` vars.

You can just create `.env` and define this variable there.
You can create `.env` file inside of this project and define variables there or do it your way.
```
DATABASE_URL = 'postgresql://{user}:{password}@{host}:{port}/{db}'
# postgresql://janedoe:mypassword@localhost:5432/mydb
SECRET_KEY = 'I AM THE SECRET'
```

Run ```make build``` to install all required packages and create necessary table in database.
Run ```make build``` to install all required packages and create necessary tables in database.

You can run an app from gunicorn with `make start`, from flask in debug mode with `make dev` or you can create a service file to run it constantly.
```
Expand All @@ -65,4 +65,4 @@ EOF



**If you have any questions or something to add feel free to contact [me](https://github.com/Midnight95)**
**If you have any questions or something to add feel free to contact [me](https://github.com/Midnight95)**

0 comments on commit f2949df

Please sign in to comment.