Skip to content

nithinjs/HD_Task

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

120 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DataBytes Website

DataBytes Company Landing Page.

Foundations

Requirements

  • Python v3.8 (or newer)
  • Django v4.04 (or newer)

Installation

pip install -r requirements.txt

Files and Folders

  • manage.py - Command Line tool to manage Django project
  • models.py - Database management tool
  • urls.py - Holds and manages the URL extensions for all template files
  • views.py - Renders HTML templates and loads data from databases
  • settings.py - Config file for Django
  • db-databytes.sqlite3 - Database file
  • /DBweb - Django application directory
  • /DBweb/templates - HTML template directory
  • /DBweb/static - assets for template directory

Running Server

python manage.py runserver

Note: Must be within the /DB-Website/databytes directory to execute command.

Accessing Admin Panel

When running server, go to http://127.0.0.1:8000/admin

Log in using admin and databytes for quick backend access

For superuser access, add a user: python manage.py createsuperuser and follow prompts

Troubleshooting

Editing models.py

After editing models.py, the Django project and the SQLite database must be updated. Run python manage.py makemigrations and python manage.py migrate

About

DataBytes Company Landing Page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 42.1%
  • CSS 26.2%
  • Python 24.2%
  • JavaScript 5.3%
  • PHP 1.3%
  • Dockerfile 0.8%
  • Procfile 0.1%