git clone git@github.com:p3dr0migue1/back_and_beyond.git
Create an environment file named .env
and add the following variables
DATABASE_URL=postgres://user:test@db:5432/backandbeyond
DEBUG=True
Build the image
docker-compose build
Start containers
docker-compose up
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.