This app makes possible to people to search and to favoritate musics. Musics are added from spotify platform.
THe platform can be accessed in: https://musiksharer.herokuapp.com
- Ruby 2.3.1
- Rails 5.02
- Elasticsearch (Searchkick)
- DelayedJobs
Install Gems:
$ bundle install
Set Env Variables
$ cp example.env .env
Set correct DOMAIN_NAME and other parameters in .env
$ rake db:create db:migrate db:seed
Start Server
$ rails s
or, for local testing with heroku:
$ heroku local
On console, Index models to ElasticSearch
$ rake searchkick:reindex:all
For testing, please run:
$ rspec
The application is prepared for deploying on heroku without no further alterations.
Necessary addons on Heroku:
- Bonsai Elasticsearch (Or another Elasticsearch)
- Postgres
- Heroku Redis
- Semaphore (deployment)
- Rollbar (BugCatching)
- SendGrid
Don't forget to turn on at least one workier for cron jobs and mailers (sidekiq).
Access '/admin' in order to access admin dashboard Username: admin@musiksharer.com Password: password
ps: You should have run rake db:seed