1. Installation Instruction for Django - Pranshu258/DataCloud_Analytics GitHub Wiki

Install Django

sudo apt update

sudo apt install python-django

Install PostgreSQL

sudo apt-get install libpq-dev python-dev

sudo apt-get install postgresql postgresql-contrib

Start a Django Project

django-admin.py startproject datacloud

This will create a folder named datacloud and two files 'manage.py' & 'db.sqlite3' The folder datacloud will play the role of root app in the django project. The db file might not be created at first, when you run the server, the command line will show a message related to migrating the db settings etc, use the command in that description to resolve this issue.

In django every module is caled an app.

Run the Django Server

python manage.py runserver

Making apps inside the project

python manage.py startapp dashboard