Skip to content
This repository was archived by the owner on Nov 7, 2023. It is now read-only.
CarrotManMattPublic archive

About

An exciting web app that suggests restaurants to eat at in your local area that have a very poor food hygiene rating

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

DangerDine

"It will boost your immune system!"

An exciting web app that suggests restaurants to eat at in your local area that have a very poor food hygiene rating

Tests

Installing

DangerDine uses Python 3.11, please ensure you have this version installed (downloads available here)

Geospatial Database

For windows install using these 3 links (in order):

For linux install using this command:

sudo apt install libsqlite3-mod-spatialite && sudo apt install binutils libproj-dev gdal-bin

Dependencies

Ensure that you have Poetry installed (instructions can be found here), then navigate to the root folder and run the following command:

poetry install --no-root && poetry run pre-commit install

Poetry will complain if you do not have the correct Python version installed. Follow the steps in Installing to get the correct version

Environment Variables

To run the program you may need to set some environment variables (E.g. SECRET_KEY), the required ones are specified in .example.env and must be placed into a file called .env in the project root.

Contributions

Contributions are welcome. If you want to contribute, please raise a PR, and we'll review, test and (likely) merge it. Please comment on issues you'd like to work on for assignment to prevent duplication of work. If you find any bugs/problems or have any feature suggestion, please raise an issue.

Please ensure your new code adheres to mypy's type checking & ruff's linting so that the repo has a consistent style. By also running pytest's test suite you can ensure your contributions provide valid functionality.

About

An exciting web app that suggests restaurants to eat at in your local area that have a very poor food hygiene rating

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages