Skip to content

Back And Beyond, a personal blog log with the latest programming tricks

License

Notifications You must be signed in to change notification settings

p3dr0migue1/back_and_beyond

Repository files navigation

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.