https://github.com/suptarr/python-django-template
Make full use of Django and Python knowledge and its accompanying documentation to create an APIs.
https://github.com/suptarr/python-django-template
bootstrap5 django html5 postgresql python3
Last synced: 4 months ago
JSON representation
Make full use of Django and Python knowledge and its accompanying documentation to create an APIs.
- Host: GitHub
- URL: https://github.com/suptarr/python-django-template
- Owner: SupTarr
- Created: 2023-03-27T04:46:17.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-06-18T22:49:08.000Z (about 1 year ago)
- Last Synced: 2025-08-01T14:37:08.005Z (12 months ago)
- Topics: bootstrap5, django, html5, postgresql, python3
- Language: Python
- Homepage:
- Size: 1.91 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Django Template
## About The Project
This project was completed as part of `Writing your first Django app` form `Django documentation`. I am tasked to make full use of Django and Python knowledge and its accompanying documentation to create an APIs for polls and vote.
## Technologies
This project was created with:
- Python
- Django
- PostgreSQL
## Installation
### Run Locally
Clone the project
```sh
git clone https://github.com/SupTarr/Python-Django-Template
```
### Set up Python and packages
To install `Python` on your machine go to [Python Download](https://www.python.org/downloads/).
```cmd
py --version
```
To install `virtualenv` via pip
```cmd
py -m pip install --user virtualenv
```
To create a `virtual environment` for your project, open a new command prompt, navigate to the folder where you want to create your project and then enter the following:
```cmd
py -m virtualenv .
```
To activate the environment, run:
```cmd
.\Scripts\activate.bat
```
In the command prompt, ensure your virtual environment is active, and execute the following command:
```cmd
pip install -r requirements.txt
```
### Set up Django and run server locally
Create a `mysite` directory in your current directory.
```cmd
django-admin startproject mysite
```
To create your app, make sure you’re in the same directory as `manage.py` and type this command:
```cmd
py manage.py startapp app_name
```
Verify it’s working with the following command:
```cmd
python manage.py runserver
```