Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 992 Bytes

README.md

File metadata and controls

43 lines (34 loc) · 992 Bytes

Build Status codecov

Back&Beyond

Install docker for your OS

Clone this repo

git clone [email protected]:p3dr0migue1/back_and_beyond.git

Create an environment file

Create an environment file named .env and add the following variables

DATABASE_URL=postgres://user:test@db:5432/backandbeyond
DEBUG=True

Development with Docker & docker-compose

Build the image

docker-compose build

Start containers

docker-compose up

Running tests

Running all tests

./manage.py test

Running specific test module

./manage.py test blog.tests.TestTags.test_creating_a_new_tag_in_popup_window_requires_a_tag_name

Running one test case

./manage.py test test_views.