Skip to content

tamaraiselvan/Base-Django-Project-Setup

Repository files navigation

Django Basic Setup Project

GitHub repo size

Table of contents

General info

This Repository has the basic setup of a Django Project. Since setting and configuring a basic setup of a project by using Django is difficult. You can clone this repository for your project, and you can use it for your projects. This Repository is developed with a simplified coding style and file structure.

Technologies

Project is created with:

  • Bootstrap 5.3
  • Python 3.10
  • Django 4.0.4

Features

  1. Authentication, Authorization.
  2. Overwritten Django admin module.
  3. Login and Sign up and Logout.
  4. A Dashboard and basic Navigation system.
  5. A good and Mobile friendly User Interface.
  6. Basic UI and UX.
  7. Theme Customizer.
  8. Bulk Import & Export data.
  9. Automation in Profile creation.
  10. Automatically Delete files/images from media which are unused.
  11. Highly documented with appropriate comment lines for easy understading of the code.

Setup

Follow these steps to make the project run locally:

  1. Clone the repository.

    git clone https://github.com/tamaraiselvan/Base-django-project-Setup.git
  2. Create a virtual environment.

    python -m venv virtualenviron_name
  3. Activate the environment.

    virtualenviron_name\Scripts\activate
  4. Install Requirements from the Requirements.txt file.

    pip install -r requirements.txt
  5. Once you installed the requirements, migrate the database.

    python manage.py migrate
  6. Once after migrating, create a superuser account.

    python manage.py createsuperuser
  7. Configurations on settings.py file

    Step 1: Go to your Gmail and create an App.
    Click Here to Refer the Documentation for the configuration.

    Step 2: Go to Google could platform. Create an OAuth app.
    Click Here to Refer the Documentation for the configuration.

    Step 3: Go to Github. Create an OAuth app.
    Click Here to Refer the Documentation for the configuration.

  8. Run the server locally on your system.

    python manage.py runserver
  9. Open your browser and type.

    http://localhost:8000/

    Note: Only on the localhost Social Authentication will work.

Sponsor to TS Tamarai Selvan

License

Licensed under the MIT License. Copyright © 2022 TS Tamarai Selvan Copy of the license.