https://github.com/thiagoesteves/myumbrella
Elixir umbrella app showing hot upgrades with LiveView—no downtime, just smooth updates.
https://github.com/thiagoesteves/myumbrella
deployex elixir elixir-lang elixir-otp elixir-umbrella hot-code-reload hot-upgrade
Last synced: 8 months ago
JSON representation
Elixir umbrella app showing hot upgrades with LiveView—no downtime, just smooth updates.
- Host: GitHub
- URL: https://github.com/thiagoesteves/myumbrella
- Owner: thiagoesteves
- Created: 2025-04-08T13:39:56.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-02T13:51:59.000Z (about 1 year ago)
- Last Synced: 2025-06-04T08:18:18.630Z (about 1 year ago)
- Topics: deployex, elixir, elixir-lang, elixir-otp, elixir-umbrella, hot-code-reload, hot-upgrade
- Language: Elixir
- Homepage:
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Myumbrella
> Elixir umbrella applications can be smoothly hot-upgraded with [DeployEx][dye].
## Running Locally
To start your Phoenix server:
* Run `mix setup` to install and setup dependencies
* Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`
Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
## Genreating a hot-upgrade release
1. Build the initial release (e.g., `0.1.0`):
```bash
# Release the version 0.1.0
MIX_ENV=prod mix assets.deploy
MIX_ENV=prod mix release
```
2. Update the version (e.g., from `0.1.0` to `0.1.1`) in `version.txt`
3. Build the new release with forced compilation:
```bash
MIX_ENV=prod mix assets.deploy
MIX_ENV=prod mix compile --force
MIX_ENV=prod mix release
```
## Observer Web Notes
If using Observer Web, install it in only one app (recommended: the LiveView web app).
[dye]: https://github.com/thiagoesteves/deployex