This is a one page website, primarily featuring a form in the home page. See design.
The form collects user emails and site URls and stores them in a database from which a machine learning model determines how to send personalized emails based on user behaviour clicking inbox emails.
To test the application, clone this repo:
$ git clone https://github.com/GitauHarrison/Peter-ML-project.git
Create and activate a virtual environment:
$ mkvirtualenv peter_site
Install app dependancies:
$ pip3 install -r requirements.txt
Run the application:
$ flask run
Paste this URL http://127.0.0.1:5000/ on your browser's address bar to see the web application.
You can use ngrok
to test the application on another device while it is running on localhost. Check your terminal for something like:
* Tunnel URL: NgrokTunnel: "http://946be86da16b.ngrok.io" -> "http://localhost:5000"
Paste the URL http://<random-string>.ngrok.io
to your mobile phone's address bar (or another device) to see the application.