To start, you must have the following requirements
- Python (latest version is recommended)
- IDE (VS Code)
- Django (to install see How to Use section)
To start, install the required packages using the requirement.txt This step will require the virtual env module (this might require admin access) and although this is completely optional, it is strongly recommended
To install virtual env do a pip install exactly like the following:
pip install virtualenvAfterwards, you need to create a virtual environment with
py -m venv envNext you want to activate the virtual env so in Windows enter:
.\env\Scripts\activateOtherwise, if you are on Mac or Linux,
source env/Scripts/activateNext install the requirements modules
pip install -r requirements.txtRight now, this is just Django, so you could have done
pip install DjangoOnce you are in a virtual environment, you can go into template folder with the following command:
cd .\template\
Next to start the Django project
py .\manage.py runserverNow you can go to http://127.0.0.1:8000/ and see the Django default homepage
If you want to rename the Django project, I recommend deleting the project and starting a new project with the How it was Made section below
After virtual env and Django where installed, I used the startproject command
django-admin startproject templateThis code is under MIT licence.