installing django and .org filel + .gitignore file
This commit is contained in:
parent
8561dbab9f
commit
94f3ecab14
|
@ -0,0 +1,28 @@
|
||||||
|
*** Django #1: Introduction
|
||||||
|
**** Objective
|
||||||
|
- We will build a IPv6 ULA registry with Django in the
|
||||||
|
next lectures
|
||||||
|
**** Lecture content
|
||||||
|
- Create a new directory in your learning cirle repository named "django"
|
||||||
|
- Write down the answers to the following questions in django/django.org
|
||||||
|
- Research and answer the following questions: (1/2 of the time)
|
||||||
|
- What is IPv6 ULA?
|
||||||
|
- addresses that are only ment to be used in privte segment.
|
||||||
|
- unique Local address they can be easly identified by FD00::/8
|
||||||
|
- equivllent to privte address in v4
|
||||||
|
- Which registries did exist historically?
|
||||||
|
- How should an IPv6 ULA registry work?
|
||||||
|
- Get started with Django
|
||||||
|
- Create a new python virtual env using `python3 -m venv`
|
||||||
|
- Create the venv in django/venv
|
||||||
|
- Create a file .gitignore in django/
|
||||||
|
- Add 'venv/' (without the quotes to that file
|
||||||
|
- Use magit to verify that the venv is being ignored
|
||||||
|
- Add and commit the .gitignore file
|
||||||
|
- Inside this virtual env, install django using `pip`
|
||||||
|
- Go to https://www.djangoproject.com/
|
||||||
|
- Finish tutorial 1: https://docs.djangoproject.com/en/3.0/intro/tutorial01/
|
||||||
|
- Commit the django code to your repository
|
||||||
|
- Exclude '*.pyc' in the .gitignore
|
||||||
|
- Also exclude the sqlite database
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
sami@afro-linux-lenovo-b50-30.13724:1593172229
|
|
@ -0,0 +1,5 @@
|
||||||
|
venv
|
||||||
|
|
||||||
|
*.pyc
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
python3
|
|
@ -0,0 +1 @@
|
||||||
|
/usr/bin/python3
|
|
@ -0,0 +1 @@
|
||||||
|
lib
|
|
@ -0,0 +1,3 @@
|
||||||
|
home = /usr/bin
|
||||||
|
include-system-site-packages = false
|
||||||
|
version = 3.7.5
|
|
@ -1 +0,0 @@
|
||||||
sami@afro-linux-lenovo-b50-30.2711:1593172229
|
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit a0012ef6c4d44c875a3173fc746ab0a9259bc531
|
Loading…
Reference in New Issue