Skip to content

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

License

Notifications You must be signed in to change notification settings

Pra-Ag/CS432_Guest_House_Portal_IITGN

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_db' by replacing <password> to Mysql server password.

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://127.0.0.1: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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages