/django_webhooks

Django Application to perform automatic deploys using Github Webhooks

Primary LanguagePython

Django Webhooks

Build Status CircleCI

Django application to perform automatic application deploys using Github Webhooks.

Requirements

python3

Setup project

Clone the repo:

git clone https://github.com/pablo-moreno/django_webhooks.git

Create .env file and setup your environment variables:

cp env.example .env

Install dependencies:

pip install -r requirements.txt

Make initial migration to create database:

python manage.py migrate

Run server (with gunicorn)

sh runserver.sh

Development:

python manage.py runserver

Github

Follow this instructions to setup yor Github project with webhooks, pointing to your server.