Tree @master (Download .tar.gz)
Watch Together
Local Development:
Prerequisites
- mysql-server
- nodejs
- ffmpeg
Setup
- Run
npm i - create .env file with the following values:\
SQL_USER=duh\SQL_PASSWORD=also_duh\SESSION_SECRET=whatever_you_want_your_debug_session_secret_to_be\FFMPEG_PATH=optional_absolute_path_to_binary_if_it_is_not_in_your_path\FFPROBE_PATH=optional_absolute_path_to_binary_if_it_is_not_in_your_path\MG_API_KEY=optional_api_key - Create the SQL database locally by running the restore_schema.sql script
- Register yourself as a user in your debug environment by running
node register.js --email your.email@mail.com --password hunter2- If you DID NOT enter an API key for Mailgun in step 2 then you should manually confirm your email in the DB by setting the
email_confirmedcolumn to1
- If you DID NOT enter an API key for Mailgun in step 2 then you should manually confirm your email in the DB by setting the
- Run
npm start - The website will be on
localhost:3000
Gotchas:
- Running
npm run buildand trying to test the production environment locally will break all captcha requests since the development flag will not be set andlocalhostis not a valid site. You can hardcode the captcha bypass rather than usingNODE_ENVif you really need to do this. Error: EPERM: operation not permitted- This is VSCode's fault on Windows when running through the VSCode terminal. Run through powershell to avoid this
Commit History @master
- Revert "dont convert video for test" Seva Luchianov 5 years ago
- dont convert video for test Seva Luchianov 5 years ago
- accept vtt subtitle files Seva Luchianov 5 years ago
- subtitle css Seva Luchianov 5 years ago
- css is hard Seva Luchianov 5 years ago
- add fullscreen css Seva Luchianov 5 years ago
- eh Seva Luchianov 5 years ago
- this oughtta work Seva Luchianov 5 years ago
- maybe? Seva Luchianov 5 years ago
- loggos Seva Luchianov 5 years ago
- maybe subtitles work now? Seva Luchianov 5 years ago
- lets try a subtitle Seva Luchianov 5 years ago
- had these flipped Seva Luchianov 5 years ago
- fix paused state going away Seva Luchianov 5 years ago
- wow seek works Seva Luchianov 5 years ago
- weird Seva Luchianov 5 years ago
- might have wired in seek Seva Luchianov 5 years ago
- wip Seva Luchianov 5 years ago
- fix Seva Luchianov 5 years ago
- maybe this is better Seva Luchianov 5 years ago
- slider css Seva Luchianov 5 years ago
- totally redo the css Seva Luchianov 5 years ago
- added seek and gonna add subtitle search Seva Luchianov 5 years ago
- ah Seva Luchianov 5 years ago
- wip Seva Luchianov 5 years ago
- fix data Seva Luchianov 5 years ago
- bump json limit for subtitle upload Seva Luchianov 5 years ago
- typo Seva Luchianov 5 years ago
- gonna try to upload subtitles Seva Luchianov 5 years ago
- trying to get files contents Seva Luchianov 5 years ago