Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

enderahmetyurt/podiscover

Repository files navigation

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 Test CI