To install this web app you will need to have:
Access to a Mysql Database. Python with PIP installed Node with NPM installed
- Set up the database.
--Use the chatdb.sql file to create the appropriate database.
- Get the appropriate python libraries
-- Run pip install -r requirements.txt in the root folder
- Set up the javascript libraries
-- CD into the static folder
-- run npm install which will install jquery
-
In the root folder open up the app.py file and set the username and password and host address of the database.
-
In the root folder run the followinig two commands
-- export FLASK_ENV=development // in a windows environment exchange "set" for "export"
-- flask run
This will start a development web server on port 5000.
you should at this point be able to access the web page at http://127.0.0.1:5000/