/bill

Primary LanguageHTML

Pizza Ordering (Flask & mysql)

git clone the repository and cd into the app directory.

Run the app

  • create a mysql database and update the following line in __init__.py like app.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

Credentials

Username(Email) : admin@example.com Password: testadmin123