NextYou is a modern Learning Management System (LMS) platform that enhances the online learning experience. It provides intuitive user interfaces for sign-up, sign-in, course management, and more. This README provides an overview of the project structure and setup instructions.
C:.
├───main
│ ├───migrations
│ │ └───__pycache__
│ └───__pycache__
├───nextyou
│ └───__pycache__
├───static
│ ├───css
│ ├───img
│ └───js
├───staticfiles
│ ├───admin
│ │ ├───css
│ │ │ └───vendor
│ │ │ └───select2
│ │ ├───fonts
│ │ ├───img
│ │ │ └───gis
│ │ └───js
│ │ ├───admin
│ │ └───vendor
│ │ ├───jquery
│ │ ├───select2
│ │ │ └───i18n
│ │ └───xregexp
│ ├───cloudinary
│ │ ├───html
│ │ └───js
│ ├───css
│ ├───img
│ └───js
└───templates
├───account
│ ├───email
│ ├───messages
│ └───snippets
├───dashboard
├───openid
├───socialaccount
│ ├───messages
│ └───snippets
└───tests
- main: Contains the core application files and migration scripts.
- nextyou: Core logic for the NextYou application.
- static: Holds static files such as CSS, JavaScript, and images.
- staticfiles: Collected static files (for production purposes).
- templates: HTML templates used for rendering web pages.
- Includes subdirectories for accounts, dashboard, and social account integrations.
- User authentication (sign-up, sign-in, password reset).
- Dashboard for managing courses and user data.
- Integration with external libraries (e.g., Cloudinary).
- Responsive design with custom CSS and JS.
- Python: Core programming language.
- Django: Web framework for building the LMS.
- PostgreSQL: Production-ready relational database.
- HTML5: Markup language for structuring pages.
- CSS3: Styling the application.
- JavaScript: Adding interactivity.
- Bootstrap: Responsive front-end framework.
- Cloudinary: For managing and serving media files.
- Git: Version control system.
- Virtualenv: Environment management for Python dependencies.
The project uses PostgreSQL to store user information, courses, and related data. Ensure the database configuration matches your environment. For structure details, refer to the database schema (see attached screenshots).
- Python 3.8+
- Django 4.x
- PostgreSQL
- Node.js (for frontend assets if required)
- A virtual environment tool (e.g.,
venv
orvirtualenv
)
-
Clone the Repository:
git clone https://github.com/your-repo/nextyou.git cd nextyou
-
Create a Virtual Environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install Dependencies:
pip install -r requirements.txt
-
Configure the Database: Update
settings.py
with your PostgreSQL credentials:DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': 'your_database_name', 'USER': 'your_username', 'PASSWORD': 'your_password', 'HOST': 'localhost', 'PORT': '5432', } }
-
Apply Migrations:
python manage.py makemigrations python manage.py migrate
-
Run the Server:
python manage.py runserver
Access the application at
http://127.0.0.1:8000/
. -
Collect Static Files (For Production):
python manage.py collectstatic