diff --git a/README.md b/README.md index 54c1e3f..328b931 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,17 @@ This tutorial shows the [power of using Celery background tasks in Upsun workers - Monitoring Celery tasks in action - Interacting with Redis using the CLI on Upsun +### 4. Develop Django Locally - PostgreSQL and Redis on Upsun + +This tutorial focuses on [developing locally but connecting to remote services on Upsun](https://robertdouglass.github.io/on_upsun/posts/develop-locally-django-postgresql-redis-upsun/). + +- Explains developing Django locally using PostgreSQL and Redis on Upsun +- Benefits: saves time, easy access to production data, simplified project switching +- Process: deploy to Upsun, create dev branch, open tunnels to cloud services +- Run Django locally while connected to cloud databases +- Demonstrates making changes locally and merging to production +- Allows instant data cloning and database sharing among developers + ## Contact me If you have any questions, my email address is rob@robshouse.net and you can [find me on LinkedIn](https://www.linkedin.com/in/roberttdouglass/). There is also an [Upsun Discord forum](https://discord.gg/PkMc2pVCDV) where I hang out, and you're welcome to find me there. \ No newline at end of file diff --git a/hugosite/content/posts/develop-locally-django-postgresql-redis-upsun.md b/hugosite/content/posts/develop-locally-django-postgresql-redis-upsun.md index 0e66dfb..0813f69 100644 --- a/hugosite/content/posts/develop-locally-django-postgresql-redis-upsun.md +++ b/hugosite/content/posts/develop-locally-django-postgresql-redis-upsun.md @@ -15,10 +15,10 @@ There are several reasons why a developer would want to develop without installi Connecting your local Django installation to the databases in the cloud solves these. Doing it on Upsun brings further advantages, though. 1. Instant cloning of production data into development environments. -2. Connect to databases of your choice with 2 local commands. +2. Quickly connect to databases of your choice with no data syncrhonization and no Docker needed. 3. Share databases with other devs working on the same branch. -To start, deploy the File Uploader example app onto Upsun. +To start, deploy the [File Uploader example app](https://github.com/robertDouglass/on_upsun/tree/main/03_django_redis_celery) onto Upsun. ```bash git clone git@github.com:robertDouglass/on_upsun.git @@ -36,7 +36,7 @@ At this point you have a running Django app on Upsun, and you have the code for ```bash upsun url ``` -Pick any of the URLs and you should end up on this very simple screen where you can upload a file or two. +Pick any of the URLs and you should end up on this very simple screen where you can upload files. ![File Uploader](/posts/develop-locally-django-postgresql-redis-upsun/01_file_upload.png)