Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.21 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.21 KB

Club Membership Web Application

A club membership application that allows customers to register and reserve facilities.

Features

  1. Signup New Customers

  2. Admin approval

  3. Username & password generation and creation

    • Username: Lastname + 2 numbers
    • Password: Alphanumeric characters
  4. User Login

  5. Facility Reservation

    • New customer: Gym only
    • 50% Payment : Gym & Swimming Pool
    • 100% Payment : All Facilities
  6. User/Admin Logout

Setting up and running the web application

  1. Clone or download the zipped repository from the GitHub link
  2. Extract all contents from the zipped folder
  3. Open your terminal and cd to project root:

$cd project_folder

  1. Create virtual environment and activate it by running

$python -m venv venv source venv/Scripts/activate

  1. Install all dependencies by executing:

$pip install -r requirements.txt

  1. Setup the application database by executing:

$python manage.py makemigrations

  1. Followed by:

$python manage.py migrate

  1. Run the application by executing:

$python manage.py runserver

  1. For creating an admin-user execute the code or login admin credentials:

$python manage.py createsuperuser

Admin credentials

username: admin password: admin