Django App Generator
Introducing Django App Generator (aka Rocket Generator
), a tool that aims to help developers generate starters on top of Django, a leading Python framework.
✅ How it works
- Access the Django Generator page (no account is required)
- Select the design:
Soft Dashboard
,Tabler
,Berry
,Material Kit
- Edit your DB Settings
- Edit the fields for the Extended User Model
- Default:
name
,phone
,bio
- Default:
- You can add other models as well
- Enable the API for each defined model
- Enable Docker Support
During the process, the user can visualize the app settings at the bottom of the generator. Once confirmed, the platform triggers the generator and the current process can be tracked in the Tasks page.
Select Design
Edit Database (edit models)
Confirm Action
Action Confirmed
✅ Download the Code
The generator provides the code in the Tasks page where the new codebase can be downloaded as a ZIP archive or GitHub (public repository).
At this point, the starter should work as expected.
✅ Compile the Sources
The use the product we need to follow the steps listed on the README (sample generated with the above settings).
Clone the Sources
$ git clone https://github.com/appseed-projects4/django-soft-7b923a2f-1487-40ae-998b-87fef219648e.git
Install Dependencies
$ virtualenv env
$ source env/bin/activate
$ pip install -r requirements.txt
Migrate DB
$ python manage.py makemigrations
$ python manage.py migrate
Generate the API
$ python manage.py generate-api -f
Start the APP
$ python manage.py runserver
Access the API
Resources
- 👉 Generate Django Apps using
Rocket Generator
- 👉 Join the Community and chat with the
support
team - 👉 Deploy Django on AWS, DO, and Azure using
DeployPRO