Skip to content

Instantly share code, notes, and snippets.

View niomwungeri-fabrice's full-sized avatar
🏠
Working from home

Fabrice Niyomwungeri niomwungeri-fabrice

🏠
Working from home
View GitHub Profile
@niomwungeri-fabrice
niomwungeri-fabrice / .travis.yml
Created October 29, 2019 16:07
Configuration file for travisCI on Django projects
language: python
python:
- "3.6"
- "3.7"
notifications:
email: false
# command to install dependencies
install:
- pip install -r requirements.txt
- pip install coveralls
@niomwungeri-fabrice
niomwungeri-fabrice / docker-compose.yml
Created October 29, 2019 16:10
Docker-compose config for Python 3 and Django
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
@niomwungeri-fabrice
niomwungeri-fabrice / Dockerfile
Created October 29, 2019 16:09
Docker config for Python3 Django
FROM python:3.7
ENV PYTHONUNBUFFERED 1
MAINTAINER Fabrice NIYOMWUNGERI
RUN mkdir /usr/src/app
WORKDIR /usr/src/app
@niomwungeri-fabrice
niomwungeri-fabrice / config.yml
Created May 20, 2019 13:57
Node.js 10 + PostgreSQL + Sequelize CircleCI config
version: 2
workflows:
version: 2
build:
jobs:
- test
jobs:
test: