https://github.com/mrgravity817/rumbl
Rumbl - An online platform where users can comment on interesting videos
https://github.com/mrgravity817/rumbl
elixir flyio phoenix phoenixliveview
Last synced: 8 days ago
JSON representation
Rumbl - An online platform where users can comment on interesting videos
- Host: GitHub
- URL: https://github.com/mrgravity817/rumbl
- Owner: MRGRAVITY817
- Created: 2023-07-24T06:02:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-26T20:39:21.000Z (almost 3 years ago)
- Last Synced: 2025-02-24T23:43:58.475Z (over 1 year ago)
- Topics: elixir, flyio, phoenix, phoenixliveview
- Language: Elixir
- Homepage: https://rumbl-stream.fly.dev/
- Size: 436 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rumbl

Let's get Rumbl-ed!
## Start in local
To start your own `Rumbl` 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.
## Deploy to Fly.io
First you need to login to [Fly.io](https://fly.io/) with `flyctl`.
```bash
$ flyctl auth login
```
Then you'll need to create a new remote server.
It will create some useful files that `flyctl` will use for easy deployment.
```bash
$ fly launch --now
```
At the very last part of deployment, you'll confront error that `DATABASE_URL` is missing.
That's obvious since we've got no database connected.
There are several options for remote databases.
For ease I use _Fly Postgres_. I can just create it by typing,
```bash
$ fly postgres create
```
Then you can attach Postgres database to our app with this command.
Replace `` and `` with real app/db name that you've created on previous step.
```bash
$ flyctl postgres attach --app
```