7th project of the OC work plan of the python developer course.
A form of chat-bot that is the embodiment of an old man in as an omniscient robot. Answering questions about a place and locating it on a map is its main functionality.
This project works with the Flask
framework.
-
Clone the repo
git clone https://github.com/Jerome-LorD/P7_GrandPy.git
-
Get a your own API Key at https://console.cloud.google.com
-
Create a virtual environment
py - m venv your_env
-
Install the requirements.txt
pip install -r requirements.txt
-
Create a
.env
file at the root of the project. Enter your API Keys in itFLASK_ENV=development (or production) SECRET_KEY=your key JS_API_KEY=your key PLACES_API_KEY=your key
-
To run the tests (-v = verbose mode)
pytest -v
Do not forget to stay in development mode
$env:FLASK_ENV = "development"
and then py -m run
finally you can see the app on your localhost ๐ด