Deploy Tabler#

This page explains how to deploy Django Tabler on Render, a popular service for developers.

👉 New to App-Generator? Sign IN with GitHub or Generate Web Apps in no time (free service).

Configuration#

The files that handles this step are:

  • render.yaml: the deployment descriptor

  • build.sh: bash script that executes the compialtion steps in the remote server

render.yaml#
services:
- type: web
    name: django-tabler
    plan: starter
    env: python
    region: frankfurt  # region should be same as your database region.
    buildCommand: "./build.sh"
    startCommand: "gunicorn core.wsgi:application"
    envVars:
    - key: DEBUG
        value: True
    - key: SECRET_KEY
        generateValue: true
    - key: WEB_CONCURRENCY
        value: 4
build.sh#
python -m pip install --upgrade pip
pip install -r requirements.txt

# Collect Static
python manage.py collectstatic --no-input

# Migrate DB
python manage.py makemigrations
python manage.py migrate

Steps to Follow#

  • Authenticate on Render

  • You’ll need to create a Blueprint instance on Render by going to this link.

  • Connect the repository that you want to deploy.

  • Fill in the Service Group Name and click on the Update Existing Resources button.

  • Click on Environment and add key called PYTHON_VERSION and set it equal to 3.12.0.

  • After you make this change, the deployment will start automatically.

In the end you should have a LIVE deployment identical to the official Django Tabler DEMO.

Homepage Django Tabler - open-source starter built on top of Tabler Design

Add Features with our Django Generator (free service)#

Using the sevice, developers can customize:

  • Select the preferred design

  • Design Database: edit models and fields

  • Add fields to Extended user model

  • Enable OAuth for GitHub and Google (soon)

  • Add Celery (async tasks)

  • Enable Dynamic API Module

  • Docker Scripts

  • CI/Cd Scripts for Render

The generated Django project is available as a ZIP Archive and also uploaded to GitHub.

Free Web Apps Generator - Works for Django, Flask, NodeJS and React