Skip to content

Sam786eer/Hotel_Management_System

Repository files navigation

� Application Setup Guide

Follow these steps to set up and run the application:

1. Set Up Virtual Environment

python -m venv .venv

(Creates an isolated Python environment)

2. Activate Virtual Environment

  • Windows:
    .venv\Scripts\activate
  • Mac/Linux:
    source .venv/bin/activate

3. Install Dependencies

pip install -r requirements.txt

(Installs all required Python packages)

4. Set Up MySQL Database

  • Open MySQL Workbench
  • Run the SQL queries from MySQL_queries.txt
    (This defines the database schema)

5. Configure Environment Variables

  • Open .env file
  • Update with your system-specific settings (e.g., database credentials)

6. Run the Application

python start.py

(Starts the server/application)

⚠️ Important Note:

Ensure MySQL is running on localhost before starting the application.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages