AdminLTE PRO Deployment#
This page explains how to deploy Django AdminLTE PRO on Render, a popular service for developers.
👉 New to App-Generator? Join our 10k+ Community using GitHub One-Click SignIN.
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
services:
- type: web
name: django-adminlte-pro
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
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 to3.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 AdminLTE PRO DEMO.
Links#
👉 New to App-Generator? Join our 10k+ Community using GitHub One-Click SignIN.
👉
Download
products and start fast a new project👉 Bootstrap your startUp, MVP or Legacy project with a custom development sprint