View docker-compose.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
web: | |
build: . | |
command: > | |
sh -c "python manage.py migrate && | |
python manage.py runserver 0.0.0.0:8000" | |
environment: | |
- DB_HOST=db | |
- DB_NAME=postgres |
View Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM python:3.7 | |
ENV PYTHONUNBUFFERED 1 | |
MAINTAINER Fabrice NIYOMWUNGERI | |
RUN mkdir /usr/src/app | |
WORKDIR /usr/src/app |
View .travis.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: python | |
python: | |
- "3.6" | |
- "3.7" | |
notifications: | |
email: false | |
# command to install dependencies | |
install: | |
- pip install -r requirements.txt | |
- pip install coveralls |
View config.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2 | |
workflows: | |
version: 2 | |
build: | |
jobs: | |
- test | |
jobs: | |
test: |