Skip to content

Antwa-sensei253/Django-Discuss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django_project

Getting Started

Prerequisites

  • Python 3.x
  • Django 3.x

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/your-repo-name.git
    cd your-repo-name
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the required packages:

    pip install -r requirements.txt
  4. Apply migrations:

    python manage.py migrate
  5. Create a superuser:

    python manage.py createsuperuser
  6. Run the development server:

    python manage.py runserver
  7. Open your browser and go to http://127.0.0.1:8000/

Project Features

  • User authentication and management
  • Discussion boards with topics and posts
  • Admin interface for managing users and content

Directory Structure

  • accounts: Contains user account-related files such as models, views, forms, and templates.
  • boards: Contains discussion board-related files such as models, views, forms, and templates.
  • discuss_board: Contains project settings, URLs, and WSGI/ASGI configuration.
  • static: Contains static files like CSS and JavaScript.
  • templates: Contains HTML templates for the project.

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

image

image

image

image

{9AE5793E-4A03-49CF-AB76-41BF9BA40B2F}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors