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:
- Edit your DB Settings
- Edit the fields for the Extended User Model
- 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.
Edit Database (edit models)
✅ 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
Clone the Sources
$ git clone https://github.com/appseed-projects4/django-soft-7b923a2f-1487-40ae-998b-87fef219648e.git
$ virtualenv env
$ source env/bin/activate
$ pip install -r requirements.txt
$ python manage.py makemigrations
$ python manage.py migrate
Generate the API
$ python manage.py generate-api -f
Start the APP
$ python manage.py runserver