Skip to content
/ tcms Public

This is a source code repository for a Django Live Coding session at UDICTI TCMS-CRDB Developers Training BootCamp 2022

Notifications You must be signed in to change notification settings

kalokola/tcms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Made in Tanzania

Django Session for UDICTI TCMS-CRDB BootCamp 2022

Session Coverage

[17 August 2022]

  1. Installing Python & Django on MacOS and Windows. ✔️
  2. Setting up Project's Virtual Environment. ✔️
  3. First Phase Coding (Traditional Django). ✔️

[18 August 2022]

  1. Second Phase Coding (DRF-RestFul APIs).

How To use the Source Code

$ git clone https://github.com/kalokola/tcms.git
$ cd tcms
$ pip3 install -r requirements.txt
$ python3 manage.py runserver 8000

You can now visit the browser on your localhost at port 8000, you can change 800 to your favourite port number

Installing Python & Django on MacOS and Windows.

The Project Uses Python 3.8.10 and Django 4.0.6

## Check your versions on your terminal
$ python3 --version
    3.8.10
# Install Django
$ pip install django
  ......
$ python3 -m django --version
    4.0.6

Setting up Project's Virtual Environment.

Get the documentation of virtualenv from Pypi Org

On Windows

$ pip install virtualenv
$ python -m venv enviroment-name
$ enviroment-name/Scripts/Activate [press-enter]

On Linux

$ pip3 install python3-venv
$ python3 -m venv enviroment-name
$ source enviroment-name/bin/ctivate [press-enter]
(enviroment-name)$

First Phase coding (Traditional Django). [17-08-2022]

  1. Creating the first django project and overall understanding of the django architecture.
  2. Configuring templates settings and Rendering our HTML templates via django-view-url format.
  3. Passing Data to templates using python-contexts

All the credit

  1. kalokola
  2. Our Trainers & Coachs.
  3. TCMS CRDB Class 2022.

About

This is a source code repository for a Django Live Coding session at UDICTI TCMS-CRDB Developers Training BootCamp 2022

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published