4 ms·
I installed it with docker, it was easy. I haven’t tested it in a real deployment with real users, but I could easily test it myself, starting the server from m
by wltr 1y ago
I installed it with docker, it was easy. I haven’t tested it in a real deployment with real users, but I could easily test it myself, starting the server from my laptop.
You clone the GitHub link, then `cd` there and run docker:
docker build -t campfire .
docker run \
--publish 3000:3000 \
--volume campfire:/rails/storage \
--env SECRET_KEY_BASE=$(docker run --rm campfire bin/rails secret) \
--env DISABLE_SSL=1 \
campfire
Before that, you need to add yourself to docker group (and reboot):
sudo usermod -aG docker $USER
Otherwise, the command fail as it needs sudo rights for generating a secret. Or you could generate the secret before that:
sudo docker run --rm campfire bin/rails secret
And then insert the long string into your command, after `SECRET_KEY_BASE=`.
I did all that on Linux, so I have no idea how to do that on macOS.
As a final step, you visit either localhost:3000 or ip-addr:3000 and play with the chat.
- rcarmo 1y agoWith Colima, all the above worked for me on a Mac.