|
27 | 27 | - [Helpful commands for local development with `docker compose`](#helpful-commands-for-local-development-with-docker-compose)
|
28 | 28 | - [Deployment](#deployment)
|
29 | 29 | * [Heroku](#heroku)
|
30 |
| - * [Render](#render) |
31 | 30 | * [AWS ECS](#aws-ecs)
|
32 | 31 | - [Linters and Code Formatters](#linters-and-code-formatters)
|
33 | 32 |
|
@@ -84,7 +83,7 @@ Few important things:
|
84 | 83 | - `mypy` is ran as a build step in [`.github/workflows/django.yml`](.github/workflows/django.yml)
|
85 | 84 | - ⚠️ The provided configuration is quite minimal. **You should figure out your team needs & configure accordingly** - <https://mypy.readthedocs.io/en/stable/config_file.html>
|
86 | 85 | - It comes with GitHub Actions support, [based on that article](https://hacksoft.io/github-actions-in-action-setting-up-django-and-postgres/)
|
87 |
| -- It can be easily deployed to Heroku, Render or AWS ECS. |
| 86 | +- It can be easily deployed to Heroku or AWS ECS. |
88 | 87 | - It comes with an example list API, that uses [`django-filter`](https://django-filter.readthedocs.io/en/stable/) for filtering & pagination from DRF.
|
89 | 88 | - It comes with setup for [Django Debug Toolbar](https://django-debug-toolbar.readthedocs.io/en/latest/)
|
90 | 89 | - It comes with examples for writing tests with fakes & factories, based on the following articles - <https://www.hacksoft.io/blog/improve-your-tests-django-fakes-and-factories>, <https://www.hacksoft.io/blog/improve-your-tests-django-fakes-and-factories-advanced-usage>
|
@@ -329,7 +328,7 @@ docker compose run django python manage.py shell
|
329 | 328 |
|
330 | 329 | ## Deployment
|
331 | 330 |
|
332 |
| -This project is ready to be deployed either on **Heroku** **Render** or **AWS ECS**. |
| 331 | +This project is ready to be deployed either on **Heroku** or **AWS ECS**. |
333 | 332 |
|
334 | 333 | ### Heroku
|
335 | 334 |
|
@@ -363,21 +362,6 @@ On top of that, we've added `gunicorn.conf.py` with some example settings.
|
363 | 362 | 1. Worker settings - <https://docs.gunicorn.org/en/latest/settings.html#worker-processes>
|
364 | 363 | 1. A brief description of the architecture of Gunicorn - <https://docs.gunicorn.org/en/latest/design.html>
|
365 | 364 |
|
366 |
| -### Render |
367 |
| - |
368 |
| -To get an overview of how Render deployment works, we recommend reading this first - <https://render.com/docs/deploy-django> |
369 |
| - |
370 |
| -There's a current deployment that can be found here - <https://django-styleguide.hacksoft.io/> |
371 |
| - |
372 |
| -**Files related to Render deployment:** |
373 |
| - |
374 |
| -1. `render.yaml` |
375 |
| - - Describes the setup. Also known as [Render Blueprint](https://render.com/docs/blueprint-spec) |
376 |
| -1. `docker/*_entrypoint.sh` |
377 |
| - - Entrypoint for every different process type. |
378 |
| -1. `docker/production.Dockerfile` |
379 |
| - - Dockerfile for production build. |
380 |
| - |
381 | 365 | ### AWS ECS
|
382 | 366 |
|
383 | 367 | _Coming soon_
|
|
0 commit comments