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

Deploy

  1. Clone the repository

  2. Install kamal (see Kamal docs):

    gem install kamal

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

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

  4. Change deploy/config.yml to suit your needs

  5. Create a .env file from sample:

    cp .env.sample .env

  6. Change .env to suit your needs

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

    ./bin/prepare_server
    
  8. Finally, deploy:

    kamal env push
    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 .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.