Django

Using this repository we’ll help you get up to speed with basic functionality such as: compiling, testing and building Docker images.

This project uses Python and Django to build an application which will eventually become a distributable Docker image.

Looking around

In the root of this repository you’ll find a file named codefresh.yml, this is our build descriptor and it describes the different steps that comprise our process. Let’s quickly review the contents of this file:

codefresh.yml

version: '1.0'

steps:
   test_the_code:
     image: python:slim
     commands:
       - python -m unittest composeexample.utils
     
   build_the_image:
     type: build
     image_name: codefreshdemo/djanga
   
   launch_the_composition:
     type: launch-composition
     composition: docker-compose.yml
Example

Just head over to the example repository in Github and follow the instructions there.