lauraemc / my-first-blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog

  • hosted on pythonanywhere.com

Created as part of University of Birmingham bridging coursework to progress from second year

Run site locally

Setup

virtualenv venv
source venv/bin/activate 
pip install requirements.txt

Run

python manage.py runserver

Tests

Run functional tests

python functional_tests.py

Run unit tests

python manage.py test

  • meets all tests when logged in - currently do not have functionality to log in guest users
  • as a result will encounter error when trying to access a page that you do not have permissions for - e.g. manually entering an edit post URL

Resources used:

Tutorial - Django girls

Design template - HTML5 UP

Images (all labelled for reuse)-

About


Languages

Language:CSS 74.8%Language:JavaScript 10.8%Language:Python 9.7%Language:HTML 4.6%