-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe1fec2
commit 47cf310
Showing
2 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected] 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected]: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) | ||
|
||
|