Skip to content

Commit 243d958

Browse files
committed
feat(srv): update
1 parent 7d36f0c commit 243d958

File tree

1 file changed

+1
-8
lines changed
  • tutorials/hosting-django-webapp-serverless-containers

1 file changed

+1
-8
lines changed

tutorials/hosting-django-webapp-serverless-containers/index.mdx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff 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

7978
5. 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.

0 commit comments

Comments
 (0)