/my-first-blog

First Django project

Primary LanguagePython

my-first-django-project

using python Django, I was ablt to build a online shopping website.

Features within this web app

MVT Pattern, Login Function, image upload/retrieve (pk:id), Django DB model design, commet feature, product info feature, insta like feature, etc

Prerequisites

help understand if you learn Python and basics of MVT Pattern/MVC pattern

Installing

Django: web application framework

  • pip install virtualenvwrapper
  • python3 -m venv myvenv
  • source bin/active
  • pip install django
  • django -admin startproject mysite
  • python3 manage.py runserver (running server)
  • python3 manage.py migrate (apply changes to database)
  • python3 manage.py makemigrations (make migrations before applying to database)
  • python3 manage.py startapp app_name (create an application)

Running the tests

  • python3 manage.py runserver (running server)

Built With

  • Python : 3.7.2
  • Django: 2.1.5
  • Pillow: 5.4.1 (Python Imaging Library)

Authors

  • SpaceBoy