Convert YouTube videos to MP3. No BS.
💎 Ruby 3.3 · 🛤 Rails 7.2 · ⚡️ Stimulus · 🅺 Kamal
-
Clone the repository
-
Install
kamal
(see Kamal docs):gem install kamal
-
Create a
deploy/config.yml
file from sample:cp deploy/config.yml.sample deploy/config.yml
-
Change
deploy/config.yml
to suit your needs -
Create a
.env
file from sample:cp .env.sample .env
-
Change
.env
to suit your needs -
Prepare server(s) - everything from copying an SSH key to setting up UFW, users and permissions:
./bin/prepare_server
-
Finally, deploy:
kamal env push kamal accessory boot redis kamal deploy
It's possible to prepare & deploy a custom environment too.
Make sure you have a config/deploy.[environment].yml
and .env.[environment]
files.
For example, for a staging
environment:
./bin/prepare_server staging
kamal env push -d staging
kamal accessory boot redis -d staging
kamal deploy -d staging.