Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nizos/django-app

Django App Tutorial Implementation
https://github.com/nizos/django-app

Last synced: 1 day ago
JSON representation

Django App Tutorial Implementation

Awesome Lists containing this project

README

        

# Django App

## About
This is an implementation of a Django tutorial from [djangoproject](https://docs.djangoproject.com/en/3.0/intro/tutorial01/).

The project is created using:
* Python version 3.6.
* Django version 2.2.

## Start app
move to the outer mysite directory `/mysite` and run the following command in the terminal:
```bash
python manage.py runserver
```

You should now be able to visit the website at: http://127.0.0.1:8000/

## Tutorial steps & setting up the environment

### Creating the environment

#### Update & upgrade OS repo
```Bash
sudo apt update
```
```Bash
sudo apt upgrade
```

#### Install python3 and python3-pip
```Bash
sudo apt install python3
```
```Bash
sudo apt install python3-pip
```

#### Install Django
```Bash
python3 -m pip install Django==2.2
```

#### Check versions

```Bash
pyhton3 --version
# Python 3.6.9
```
```Bash
python3 -m pip --version
# pip 20.0.2 from /home/nizar/.local/lib/python3.6/site-packages/pip (python 3.6)
```
```Bash
python3 -m django --version
# 2.2
```

## Contributors
Andreas, Nizar, Rickard, Joel & Wissam.