Infer the gender based on the first name of a person.
To install these interactives on your local machine:
- Clone this repository to your local machine.
- In the directory where you placed the cloned repo, create a virtual environment for Python and project dependencies in a directory called "venv":
pip install virtualenv
virtualenv venv
- Activate your virtual environment
source venv/bin/activate
- Install Flask and all required packages:
pip install -r requirements.txt
- Fire up your local webserver:
python app.py
-
In a web browser, go to localhost:5000, and you should see the development site! Please not that the terminal window you are running the development site in must stay open while you are using the site.
-
When development is complete, terminate the local web server by typing
CONTROL + C
. Also deactivate the virtual environment:
deactivate