Campfire Deploy with Kamal

Episode #440 by Teacher's Avatar David Kimura

Summary

In this episode, we look at setting up our Campfire instance to be deployable with Kamal instead of the Once CLI. This has a few benefits over the standard deployment mechanism if you are going to be tweaking and making your own changes to the Campfire code. We'll also look at taking in the incoming changes from Once to rebase into our Kamal setup.
rails campfire deployment kamal 21:47

Chapters

  • Introduction (0:00)
  • Pulling the code and setting up git (2:28)
  • Dockerizing Campfire (3:31)
  • Installing Kamal and resolving gem issues (4:21)
  • Get a working Docker build (5:13)
  • Setting up Kamal (7:17)
  • Fixing the initial boot (11:11)
  • Fixing Redis (12:10)
  • Setting up the server (14:05)
  • Deploying with Kamal (16:15)
  • Changing the Campfire code (18:11)
  • Updating Campfire (18:44)
  • Final thoughts (20:45)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
$ 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams