---
# System prepended metadata

title: Untitled

---


## install virtualenv
```
sudo pip install virtualenv
```

## cd in your dir

    mkdir ~/newproject

    cd ~/newproject

## create a virtual environment

```
virtualenv newenv
```

## activate virtual environment
### windows
```
newenv\Scripts\activate.bat 
```

### linux
```
source newenv/bin/activate
```

## install Django in virtual environment
```
pip install django
```

## verify the installation
```
django-admin --version
```

## leave virtual environment
```
deactivate
```

---

## links 
```
http://127.0.0.1:8000/welcome/register/
http://127.0.0.1:8000/accounts/login/
http://127.0.0.1:8000/welcome/
```

## run server
```
python manage.py runserver
```

## create admin
```
python manage.py createsuperuser
```

acc/pw
admin/admin