Hamdan85 / musiksharer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Build Status codebeat badge Coverage Status

About MusikSharer

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

Requirements

  • Ruby 2.3.1
  • Rails 5.02
  • Elasticsearch (Searchkick)
  • DelayedJobs

Installation

Install Gems:

$ bundle install

Set Env Variables

$ cp example.env .env

Set correct DOMAIN_NAME and other parameters in .env

Migrate Database

$ 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

Testing

For testing, please run:

$ rspec

Deploy

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).

Admin Address

Access '/admin' in order to access admin dashboard Username: admin@musiksharer.com Password: password

ps: You should have run rake db:seed

About


Languages

Language:Ruby 69.4%Language:HTML 28.2%Language:CSS 1.1%Language:JavaScript 1.0%Language:CoffeeScript 0.2%