blulady / dockerized-django-demo2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Continuous Integration for a Production-Ready Dockerized Django App with CircleCI and CodeCov

CircleCI

End-to-end tutorial of CI for production-ready Dockerized Django 3.2 on CircleCI 2.1

Clone the repository:

run the following command on your terminal to clone the repository:

git clone git@github.com:CIRCLECI-GWP/dockerized-django-demo.git

cd dockerized-django-demo

Running the test locally

Go into the bash of your Docker container for the Django and run tests.

$ cd dockerized-django-demo-circleci
$ docker-compose -f local.yml run web_django bash

Now, run the tests.

root@abc77c0122b3:/code# python3 manage.py test --keepdb

About CircleCI Guest Writer Program

Reviewers: Ron Powell, Stanley Ndagi, Amos Omondi

About


Languages

Language:JavaScript 35.0%Language:Python 31.4%Language:CSS 30.2%Language:Shell 2.1%Language:Dockerfile 0.9%Language:HTML 0.4%