https://github.com/chip/stompfish
A playlist generator
https://github.com/chip/stompfish
Last synced: about 2 months ago
JSON representation
A playlist generator
- Host: GitHub
- URL: https://github.com/chip/stompfish
- Owner: chip
- Created: 2014-12-03T23:22:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-13T14:48:37.000Z (almost 12 years ago)
- Last Synced: 2026-01-02T07:43:15.190Z (6 months ago)
- Language: Ruby
- Size: 1.56 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Setup
-----
### Ruby
1. Install Ruby 2.x+ (Recommended: [Rbenv](https://github.com/sstephenson/rbenv))
### Postgresql
1. Install Postgresql on your system. This app uses Postgresql for all environments.
2. Copy `config/database.yml.example` to `config/database.yml`
3. Add your Postgresql _username_ and _password_ to `config/database.yml`
4. Start Postgresql
### Monitor Configuration
1. Copy `config/monitor_settings.yml.example` to `config/monitor_settings.yml`
2. Add your _watch_ and _import_ directories to `config/monitor_settings.yml`
3. _watch_ is the directory to monitor for new audio files.
4. _import_ is the base directory to move new audio files.
### Libraries
1. Install TagLib on your system. [TagLib](http://robinst.github.io/taglib-ruby/)
2. Install FFmpeg on your system. [FFmpeg](http://www.ffmpeg.org/download.html)
### Search
1. Install ElasticSearch. [ElasticSearch](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup.html#setup-installation)
2. Start ElasticSearch
### Rails Setup
1. Run bundler
2. Create your databases: `rake db:create:all db:migrate db:test:prepare`
### Add Songs to Database
1. Import your music: `rake import:full`
2. Check the `ImportLog` model/table for errors on import
3. Index ElasticSearch: `rake elasticsearch:index`