Exploring Campfire

Episode #439 by Teacher's Avatar David Kimura

Summary

In this episode, we explore the Campfire code from 37signals' Once product line. We'll install the product and grab the code base to get it up and running on our development environment.
rails campfire development 11:40

Chapters

  • Introduction (0:00)
  • Installing (1:37)
  • Exploring what installed (2:43)
  • Better way to download the source (5:16)
  • A first glance at the code (5:45)
  • Getting the application running locally (7:48)
  • ENV Vars (8:41)
  • Warning about modifying the code (9:48)
  • The once cli utility (10:29)
  • Sqlite Database Location (10:59)

Resources

Summary

# Terminal
/bin/bash -c "$(curl -fsSL https://auth.once.com/install/${TOKEN})"
docker exec -it campfire bash
docker cp campfire:/rails rails
sudo apt install magic-wormhole
brew install magic-wormhole
curl -o campfire.zip "https://auth.once.com/download/${TOKEN}"
cat ~/.config/once/config.json
once update
once upgrade
once upgrades
cd /var/once/campfire