Django application to perform automatic application deploys using Github Webhooks.
python3
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
Follow this instructions to setup yor Github project with webhooks, pointing to your server.