You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker-compose run web python manage.py createsuperuser
24
-
docker-compose up
25
-
open http://127.0.0.1:8000
21
+
docker compose up --force-recreate --build -d
22
+
docker compose run web python manage.py migrate
23
+
docker compose run web python manage.py createsuperuser
26
24
```
27
25
28
-
For a more complete how-to guide to this project, see [Deploy a new django CMS project using the Divio quickstart
29
-
repository](https://docs.divio.com/en/latest/how-to/django-cms-deploy-quickstart/) in the [Divio Developer
30
-
Handbook](https://docs.divio.com).
26
+
Then open http://django-cms-quickstart.127.0.0.1.nip.io:8000 (or just http://127.0.0.1:8000) in your browser.
31
27
32
28
33
29
## Customising the project
@@ -40,8 +36,16 @@ see sections that can be removed - in each case, the section is noted with a com
40
36
41
37
Options are also available for using Postgres/MySQL, uWSGI/Gunicorn/Guvicorn, etc.
42
38
43
-
## Contribution
39
+
## Features
40
+
41
+
### Static Files with Whitenoise
42
+
43
+
This quickstart demo has a cloud-ready static files setup via django-whitenoise.
44
44
45
-
This code for this project has been forked from Divio's quickstart repo. We are grateful for their valueable contribution to the code and documentation of this code.
45
+
In the containerized cloud the application is not served by a web server like nginx but directly through uwsgi. django-whitenoise is the glue that's needed to serve static files in your application directly through uwsgi.
46
+
47
+
See the django-whitenoise settings in settings.py and the `quickstart/templates/whitenoise-static-files-demo.html` demo page template that serves a static file.
48
+
49
+
## Contribution
46
50
47
-
You can follow the original repo [here](https://github.com/divio/django-cms-divio-quickstart/).
51
+
Here is the official django CMS repository: [https://github.com/django-cms/django-cms-quickstart/](https://github.com/django-cms/django-cms-quickstart/).
0 commit comments