• This repository has been archived on 05/Dec/2023
  • Stars
    star
    20
  • Rank 1,121,974 (Top 23 %)
  • Language
    HTML
  • Created over 2 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Find your next podcast

Podiscover

Find your next podcast.

Development Setup

Prerequisites

  • Spotify Developer ClientID and Secret from Spotify Developer Dashboard

    • Add callback url as http://localhost:3000/users/auth/spotify/callback.
  • Create .env file and update SPOTIFY_CLIENT_ID and SPOTIFY_SECRET_ID with your Spotify Developer ClientID and Secret.

  • Install Postgresql client for avoiding pg gem installation error: brew install postgresql for Mac.

  • Run the following commands to build the docker image and run the app, then run migrations with bash commands:

# Build the docker image and run the app -d for detached mode
docker-compose up
# or 
docker-compose -f docker-compose.dev.yml up

# Create database if this is first setup
docker-compose run app bin/rails db:create

# Run migrations
docker-compose run app bin/rails db:migrate

# Precompile assets if needed
# bundle exec rails assets:precompile

# If tailwindcss upgraded and given an error
# bundle exec rake tailwindcss:build

You can visit http://localhost:3000 to view the app.

Status Badges

Ruby CI