django for beginners code example

Example 1: Django for Beginners

$ pipenv install django~=3.1.0

Example 2: Django for Beginners

(helloworld) $ python manage.py runserver

Example 3: Django for Beginners

(django) $ exit

Example 4: Django for Beginners

(django) $ django-admin startproject config .

Example 5: Django for Beginners

$ pipenv shell

Example 6: Django for Beginners

$ cd ~/Desktop
$ mkdir django
$ cd django

Example 7: Django for Beginners

$ pip3 install pipenv

Example 8: Django for Beginners

git remote add origin https://github.com/ErnieMac/breaking-bad-api.git
git branch -M master
git push -u origin master

Example 9: Django for Beginners

echo "# breaking-bad-api" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M master
git remote add origin https://github.com/ErnieMac/breaking-bad-api.git
git push -u origin master