Skip to content
This repository has been archived by the owner on Jul 2, 2022. It is now read-only.

Latest commit

 

History

History
69 lines (53 loc) · 1.31 KB

README.md

File metadata and controls

69 lines (53 loc) · 1.31 KB

Get up and running

Install VirtualBox

https://www.virtualbox.org/

Install Vagrant

https://www.vagrantup.com/

Install gem dependencies

  $ bundle

Install chef cookbooks

  $ librarian-chef install

Install vagrant-omnibus

  $ vagrant plugin install vagrant-omnibus

Build the VM

  $ vagrant up

Install missing packages

Install imagemagick and taglib package of the distrobution. This is required for gems that create logo thumbnails and tagging audio files.

  $ sudo apt-get install imagemagick taglib

Log in and install app gems

  $ vagrant ssh
  $ cd app
  $ bundle

Mailserver configuration

Create a configuration file app/config/application.yml and setup your mailserver credentials:

MAILER_PASSWORD: hackme
MAILER_FROM_ADDRESS: [email protected]
MAILER_USERNAME: [email protected]
MAILER_DOMAIN: i42n.auriga.uberspace.de
MAILER_SERVER_ADDRESS: auriga.uberspace.de

Configure database access

Open database.yml and configure user / password of the postgresql database.

Create and migrate database

  $ rake db:create
  $ rake db:migrate

Start sidekiq workers

Sidekiq workers process background tasks as downloading episodes for example.

$ bundle exec sidekiq