This project is a simple Django backend application with basic functionality. A space to experiment and play with new technologies.
The local development environment is setup using Docker. The Docker image is built, uploaded and stored in Heroku's Docker registry.
The production application is deployed to Heroku through Travis CI without being Dockerized.
Follow this link.
Clone the repository to a location of your liking. In your shell run the following commands to run the application locally.
$ cd simple_backend
$ docker-compose up
If you want to pull the latest Docker image from Heroku run the following command before the up
command.
$ docker-compose pull
Then visit http://localhost:8000/
to view your application.
You need to install docker and docker-compose. Follow theses instructions.
$ cd simple_backend
$ docker-compose -f docker-compose.test.yml up
The application is deployed to Heroku using Travis CI. Pushing the master branch will trigger a build job.
The build job includes
- build docker image
- unit tests against latest docker image
- deploy application to production
- test production
- Django - High-level Python Web framework
- Django REST Framework - A powerful and flexible toolkit for building Web APIs.
- Docker - Software containerization platform
- Travis - Distributed continuous integration service
- Annelle de Jager
See also the list of contributors who participated in this project.