-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Kiarash Golezardi edited this page Dec 30, 2018
·
8 revisions
Welcome to the SAD-Project wiki!
First, we need a virtual environment! We used virtualenvwrapper to make one with the following commands:
$ pip install virtualenvwrapper
$ export WORKON_HOME=~/Envs
$ mkdir -p $WORKON_HOME
$ source /usr/local/bin/virtualenvwrapper.sh
$ mkvirtualenv bidilo -p python3
We should add Django to requirements, but for now:
$ pip install django
$ django-admin startproject mysite
$ python manage.py runserver
$ python manage.py startapp core
One way is to git reset.
- Edit .gitignore
- git rm -r --cached . to remove files from git
- git add . to add files that are not ignored by new policy
https://wsvincent.com/django-user-authentication-tutorial-login-and-logout/