https://github.com/fasterthanlime/refresh
Silly Fast Fresh Deploys with Rust
https://github.com/fasterthanlime/refresh
Last synced: about 1 year ago
JSON representation
Silly Fast Fresh Deploys with Rust
- Host: GitHub
- URL: https://github.com/fasterthanlime/refresh
- Owner: fasterthanlime
- Created: 2023-04-08T16:42:54.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-02T21:06:15.000Z (about 3 years ago)
- Last Synced: 2025-04-01T03:11:10.289Z (about 1 year ago)
- Language: Rust
- Homepage: https://www.youtube.com/playlist?list=PLxV2db94vuXkvZuZrx-iBvrO13dtIQ91k
- Size: 131 KB
- Stars: 23
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Silly Fast Fresh Deploys with Rust
This was made for the [series of the same name on YouTube](https://www.youtube.com/playlist?list=PLxV2db94vuXkvZuZrx-iBvrO13dtIQ91k)
It shows how to use Rust to build a TCP proxy that does Blue/Green deploys of a Fresh/Deno app, which is stored in a Postgres instance (on Amazon RDS for me, but it could be anywhere). The whole thing runs on [Control Plane](https://controlplane.com), who sponsored this series (thanks!)
### Running this locally
Start the project:
```
deno task start
```
This will watch the project directory and restart as necessary.
See also the various tasks in `Justfile` - the fresh app itself isn't the most interesting part, the Rust code is.