Skip to content
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: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ postgres_data/
*.json
*.pem
data/
*.pem

*.pem
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,17 @@
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

## Running the project locally
- Activate a virtual environment
```bash
source venv/bin/activate
```

- Install requirements
```bash
pip install -r requirements.txt
```

- Run the project
```bash
flask run
```
13 changes: 13 additions & 0 deletions server-set-up.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- Install [nginx](https://nginx.org/en/linux_packages.html#Ubuntu)

- The application runs on a docker image, so we run
```bash
sudo docker run -d
```

- Install ```Gunicorn```

- Edit the ```/etc/nginx/sites-available/default``` file, to:
```bash

```