git
- instructions herepip
- instructions herevirtualenvwrapper
- instructions herenpm
(node package manager) - instructions here
-
Get the boilerplate code.
- If you have a github account, fork this repository and then:
# in your working directory $ git clone [email protected]:<your username>/pyladies-django-workshop.git $ cd pyladies-django-workshop $ git reset --hard boilerplate
- If you don't have a github account:
# in your working directory $ git clone https://github.com/eleyine/pyladies-django-workshop.git $ cd pyladies-django-workshop $ git reset --hard boilerplate
-
Set up vitualenv.
# in pyladies-django-workshop $ mkvirtualenv pyladies-django $ workon pyladies-django (pyladies-django) $ pip install -r requirements.txt
-
Install bower dependencies.
# in pyladies-django-workshop (pyladies-django) $ npm install -g bower # you might need to use `sudo npm install -g bower` (pyladies-django) $ bower install
-
Migrate Django app models.
# in pyladies-django-workshop (pyladies-django) $ python manage.py migrate (pyladies-django) $ python manage.py runserver
-
Visit http://localhost:8000/, you should now see a blank page with a functional navbar and sidebar.