git clone
the repository and cd
into the app directory.
- create a mysql database and update the following line in
__init__.py
likeapp.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+pymysql://YourUsername:Yourpassword@localhost/dbName'
- import the
db.sql
in to your database - create the enviroment with
virtualenv <yourEnviromentName>
- Install all the requirements in your environment.
pip install -r requirements.txt
After that, run the app using the command.
python run.py
Access the homepage on http://localhost:5000
Username(Email) : admin@example.com Password: testadmin123