Skip to content

dx9233/django-landing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Home Landing | Django App

Smart Home

Tech Stack

Python Django HTML CSS JS

Installation

  1. Clone or download the project:

    git clone https://github.com/dx9233/smarthome-landing-django.git
    cd smarthome-landing-django
  2. Create and activate a virtual environment:

    python -m venv venv
    # Windows
    venv\Scripts\activate
    # macOS / Linux
    source venv/bin/activate
  3. Install dependencies:

    pip install django
  4. Run migrations:

    python manage.py migrate
  5. Create a superuser (admin account):

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

    python manage.py runserver
  7. Open your browser:


Project Structure

django-template/
├── app/
│   ├── settings.py
│   ├── urls.py
│   ├── ...
├── core/
│   ├── views.py
│   ├── urls.py
│   └── templates/
│       └── base.html
├── manage.py
└── db.sqlite3

Customization

  • Modify core/templates/base.html for your main layout.

  • Add new apps using:

    python manage.py startapp your_app_name
  • Register new apps in app/settings.py under INSTALLED_APPS.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors