Happy Youtube Watcher manages tracked Youtube playlists and their histories over time.
Rewatching old Youtube playlists can cause a trip backwards in time, great memories rush back. Over time, videos in our playlists are deleted or become no longer available in our country. Youtube won't tell you anything about what that video was, only that it's now gone.
The solution? Happy Youtube Watcher.
-
Install ruby.
-
Install postgresql/setup user account.
-
Install
bundler
gem to manage all gems. -
Run
bundle install
to install required gems. -
Create an
.env
file in the root directory of the project (see dotenv for more details) and set these local env vars:- DB_USERNAME
- DB_PASSWORD
- DB_HOST (optional)
- DB_PORT (optional)
- YT_API_KEY (required for youtube api calls)
-
Run
rails db:setup
to setup the database
rails s -p 8000
- Note: The partner application runs on port 3000 in development: https://github.com/hebron-george/shuffle_youtube_playlist
-
Install
debase
andruby-debug-ide
gems. -
Start a debug instance of your code:
rdebug-ide --host 0.0.0.0 --port 1234 --dispatcher-port 1234 -- bin/rails s -p 8000
-
Install
Ruby
extension on vscode -
Launch a debug listener session in vscode:
Listen for rdebug-ide
-
Set a breakpoint
-
Execute code to hit breakpoint