Skip to content

Commit

Permalink
Variables article
Browse files Browse the repository at this point in the history
  • Loading branch information
robertDouglass committed Aug 8, 2024
1 parent 421c09a commit 6f4e19f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions hugosite/content/posts/variable-management-django-upsun.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ draft = false

## Why Upsun for Django?

Upsun stands out as a comprehensive platform for Django developers that addresses many common pain points in Django deployment and development.
[Upsun](https://upsun.com) stands out as a comprehensive platform for Django developers that addresses many common pain points in Django deployment and development.

- Ready-to-use services: Redis, PostgreSQL, Kafka, Elastic Search, Open Search and more
- Ready-to-use services: [Redis, PostgreSQL](https://robertdouglass.github.io/on_upsun/posts/install-django-postgresql-pgvector-upsun/), Kafka, Elastic Search, Open Search and more
- Environment cloning for testing and development (great for teams working together)
- Infrastructure as code for version-controlled server setups
- Local development boost through service tunneling
- Integrated Blackfire profiling for performance optimization
- Infrastructure-as-code for version-controlled server setups
- [Local development boost through service tunneling](https://robertdouglass.github.io/on_upsun/posts/develop-locally-django-postgresql-redis-upsun/)
- Integrated [Blackfire profiling](https://blog.blackfire.io/understanding-monitoring-traces-extended-traces-and-profiles.html) for performance optimization

These features collectively create an ecosystem that streamlines Django development, from local coding to production deployment.

Expand Down Expand Up @@ -76,7 +76,7 @@ DATABASES = {
}
```

This setup automatically configures your database connection based on the current environment, eliminating the need for manual configuration across different deployments.
This setup automatically configures your database connection based on the current environment, eliminating the need for manual configuration across different deployments. You will see similar code in the `settings_psh.py` file that gets generated by the `upsun project:init` command. [See this example](https://github.com/robertDouglass/on_upsun/blob/main/02_install_django_postgresql_pgvector_upsun/myproject/myproject/settings_psh.py).

## Managing Sensitive Data: OPENAI_API_KEY

Expand Down

0 comments on commit 6f4e19f

Please sign in to comment.