mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update how-to-setup-django-on-openpanel.md
This commit is contained in:
parent
0e1ec1b871
commit
eda0308b31
@ -24,24 +24,24 @@ In the form, choose your domain name under 'Application URL'.
|
||||
|
||||
In the 'Application Startup File' field, enter domainname/manage.py (replace domainname with your actual domain name).
|
||||
|
||||
]
|
||||

|
||||
|
||||
In the 'Optional flags' section, set the Django runserver command as follows: `runserver 0.0.0.0:3000` (replace 3000 with your desired port number).
|
||||
|
||||
]
|
||||

|
||||
|
||||
For the 'Type' field, select **Python**:
|
||||
|
||||
]
|
||||

|
||||
|
||||
and in the 'Port' field, enter the same port number you used in the runserver flag (e.g., 3000).
|
||||
|
||||
]
|
||||

|
||||
|
||||
|
||||
Click **Create** and wait a few minutes for the process to complete.
|
||||
|
||||
]
|
||||

|
||||
|
||||
|
||||
Note: The initial setup might be slow as it installs PM2, Python, Django admin, and other dependencies. Subsequent application setups will be faster.
|
||||
@ -50,4 +50,4 @@ Note: The initial setup might be slow as it installs PM2, Python, Django admin,
|
||||
|
||||
Once the installation is complete, open your domain in a web browser to test the setup.
|
||||
|
||||
]
|
||||

|
||||
|
Loading…
Reference in New Issue
Block a user