Skip to content

WebApp created using Flask, MySQL & Python to manage day-to-day taks at IIT Gandhinagar's Guest House

Notifications You must be signed in to change notification settings

Pra-Ag/IITGN-Guesthouse-Management-System

 
 

Repository files navigation

IITGN Guesthouse Mnagement System

WebApp created using Flask, MySQL & Python to manage day-to-day taks at IIT Gandhinagar's Guest House

Pre-Requisites

Open the MySQL Workbench import the 'guesthouse_db.sql' file.

In the app.py file, update the line app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+mysqldb://root:<password>@localhost/guesthouse' by replacing <password> to sql server password and guesthouse to guesthouse_db.

Steps to run the Repository

  1. Open the directory in the code editor.

  2. Now, we need to create a virtual python environment in the project directory. This can be done by executing following commands (windows):

python -m venv env
 .\env\Scripts\activate
  1. Install the required dependencies:

    pip install -r requirements.txt
    
  2. Run the application:

    python app.py
    

    or

    flask run
    
  3. Open your web browser and visit http://localhost:5000 to access the application.

About

WebApp created using Flask, MySQL & Python to manage day-to-day taks at IIT Gandhinagar's Guest House

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 55.0%
  • Python 43.7%
  • Other 1.3%