Skip to content

My first ever Django project. A web app that displays information about the members of a tennis club.

Notifications You must be signed in to change notification settings

SSHshadow222/my-tennis-club

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

My Tennis Club 🎾

My Tennis Club is a web application used to represent some data about the members of a tennis club. This is my first-ever Django project and it was intended for learning purposes only.

Configuration

Middleware

  • WhiteNoise: Pip package that allows web apps to serve their static files such as JavaScript, CSS, and Images.

Database

  • SQLite: Embedded, serverless relational database management system.

Installation

You can follow these steps to set up and run the project on your local machine.

Prerequisites

Before you begin, ensure you have met the following requirements:

Setting Up & Running The Server

  1. Clone the repository

    git clone https://github.com/SSHshadow222/my-first-django.git
    cd my-first-django
  2. Create and activate a virtual environment

    Windows:
    > py -m venv .venv 
    > .venv\Scripts\activate.bat
    Unix-Like:
    $ python -m venv .venv
    $ source .venv/bin/activate
  3. Install dependencies

    cd src
    pip install -r requirements.txt
  4. Configure the environment file

    Create a .env file in my_tenis_club and add a secret key:

    SECRET_KEY=your_secret_key

    To generate a random secret key run the following commands:

    $ python manage.py shell
    
    >>> from django.core.management.utils import get_random_secret_key
    >>> print(get_random_secret_key())
  5. Finally, run the server

    $ python manage.py runserver

About

My first ever Django project. A web app that displays information about the members of a tennis club.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published