Skip to content

Convert YouTube videos to MP3. No BS.

Notifications You must be signed in to change notification settings

vladyio/quicktube

Repository files navigation

QuickTube.app

quicktube.app

Convert YouTube videos to MP3. No BS.


💎 Ruby 3.3 · 🛤 Rails 7.2 · ⚡️ Stimulus · 🅺 Kamal 2

Deploy

Note

For Kamal v1 with Traefik, see legacy v0.1.7.1.

  1. Clone the repository

  2. Install kamal (see Kamal docs):

    gem install kamal

  3. Create a config/deploy.yml file from sample:

    cp config/deploy.yml.sample config/deploy.yml

  4. Set values in config/deploy.yml to match your setup

  5. Create a .kamal/secrets file from sample:

    cp .kamal/secrets.sample .kamal/secrets

  6. Set values in .kamal/secrets to match your setup

  7. Prepare server(s) - everything from copying an SSH key to setting up UFW, users and permissions:

    ./bin/prepare_server
    
  8. Finally, deploy:

    kamal accessory boot redis
    kamal deploy
    

Custom environments

It's possible to prepare & deploy a custom environment too.

Make sure you have a config/deploy.[environment].yml and .kamal/secrets.[environment] files.

For example, for a staging environment:

./bin/prepare_server staging

kamal accessory boot redis -d staging
kamal deploy -d staging.