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
- report malicious file to me Seva Luchianov 5 years ago
- maybe re-add events Seva Luchianov 5 years ago
- hm Seva Luchianov 5 years ago
- reconnect wss after it disconnected Seva Luchianov 5 years ago
- redo video controls border Seva Luchianov 5 years ago
- scan subtitle files as well Seva Luchianov 5 years ago
- dont wanna be passing around all this user data Seva Luchianov 5 years ago
- just use clamscan not clamdscan Seva Luchianov 5 years ago
- Update packages. Add virus scanning to videos. Assert filetype correctly Seva Luchianov 5 years ago
- made ids unique Seva Luchianov 5 years ago
- fix propogations and style Seva Luchianov 5 years ago
- yikes referencing multiple duplicate elements by id Seva Luchianov 5 years ago
- fix heights and shit Seva Luchianov 5 years ago
- logs? Seva Luchianov 5 years ago
- huh Seva Luchianov 5 years ago
- make helper function and prevent server from double-pausing Seva Luchianov 5 years ago
- better subtitles button Seva Luchianov 5 years ago
- fix some boogs Seva Luchianov 5 years ago
- remove files as they get uploaded Seva Luchianov 5 years ago
- disable upload button while uploading Seva Luchianov 5 years ago
- add uploading gif Seva Luchianov 5 years ago
- more guidance Seva Luchianov 5 years ago
- get rid of utils, just do it here Seva Luchianov 5 years ago
- crazy bug Seva Luchianov 5 years ago
- whoops fix ref Seva Luchianov 5 years ago
- minor change Seva Luchianov 5 years ago
- this made it look buggy not good Seva Luchianov 5 years ago
- Added some assets and some simple css to get started Seva Luchianov 5 years ago
- TODO: Mobile CSS Seva Luchianov 5 years ago
- fix css Seva Luchianov 5 years ago