File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
tutorials/hosting-django-webapp-serverless-containers Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,7 @@ To host a [Django](https://www.djangoproject.com/) web application on **Scaleway
7272 │ ├── urls.py # URL routing
7373 │ └── wsgi.py # WSGI application entry point
7474 ├── manage.py # CLI for Django commands
75- ├── venv/ # Virtual environment (excluded from Docker)
76- └── requirements.txt # To be created (lists dependencies)
75+ └── venv/ # Virtual environment (excluded from Docker)
7776 ```
7877
79785 . Create a ` requirements.txt ` file:
@@ -146,9 +145,3 @@ Before building and pushing your image, ensure you have [created a Scaleway Cont
146145
147146- You can deploy an existing Django project by building and pushing its container image as shown above.
148147- [ Add a custom domain] ( /serverless-containers/how-to/add-a-custom-domain-to-a-container/ ) to your deployed app.
149- - Secure your app by using environment variables for ` SECRET_KEY ` and ` DEBUG ` via the container’s environment settings in the console.
150- - Integrate with a database (e.g., PostgreSQL) by connecting to a managed Scaleway Database instance or using an external provider.
151-
152- ```
153-
154- > ✅ **Tip**: For production, always set `DEBUG=False` and use proper allowed hosts and secret key management.
You can’t perform that action at this time.
0 commit comments