Skip to content

MRGRAVITY817/rumbl

Repository files navigation

Rumbl

rumbl-image

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 from your browser.

Deploy to Fly.io

First you need to login to Fly.io with flyctl.

$ 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.

$ 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,

$ fly postgres create

Then you can attach Postgres database to our app with this command.
Replace <app-name> and <database-name> with real app/db name that you've created on previous step.

$ flyctl postgres attach --app <app-name> <database-name>

About

Rumbl - An online platform where users can comment on interesting videos

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors