This project uses PostgreSQL database data on "db" database.
You need to install PostgreSQL to your local OS, or be able to access remote postgres instance.
Please provide env variables to your postgres connection.
pip install -r requirements.txt
Pre-commit hooks configuration has been added to the repository.
Requirements are in the requirements.txt
.
After the requirements are installed, run pre-commit install
. Then, pre-commit hooks should work for the repository.
You need to set POSTGRES_USER
, POSTGRES_PWD
and "POSTGRES_HOST
" environment variables.
Set up virtual enviorment inside "public_html" directory. Then, clone
When running on students, on can use public db and server with following credentials placed in .env file:
POSTGRES_USER=scott
POSTGRES_PWD=tiger
POSTGRES_HOST=lkdb
If you want to use your own modified wersions of api, you need to specify your endpoints in lib/main.js
file by changing ing_endpoint, drinks_search_endpoint, and drink_endpoint with your own http adresses respectivle.