Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
robertDouglass committed Jul 29, 2024
1 parent fe1fec2 commit 47cf310
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

Expand Down

0 comments on commit 47cf310

Please sign in to comment.