Coder Social home page Coder Social logo

jackkweyunga / tcms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kalokola/tcms

0.0 0.0 0.0 11.28 MB

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

Python 99.60% HTML 0.40%

tcms's Introduction

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.

tcms's People

Contributors

kalokola avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.