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
- WIP - fixing banners and stuff Seva Luchianov 4 years ago
- update banners Seva Luchianov 4 years ago
- npm keeps fucking with my lockfile Seva Luchianov 4 years ago
- More sweeping refactoring Seva Luchianov 4 years ago
- more fixes, implement state later Seva Luchianov 4 years ago
- better ux Seva Luchianov 4 years ago
- avoid validation errors and other stuff Seva Luchianov 4 years ago
- MASSIVE wip Seva Luchianov 4 years ago
- dynamically update copyright footer Seva Luchianov 4 years ago
- clean up up parcel garbage Seva Luchianov 4 years ago
- Add handlebars and sass Seva Luchianov 4 years ago
- Fuck parcel, also update deprecated stuff Seva Luchianov 4 years ago
- and again Seva Luchianov 4 years ago
- missed one Seva Luchianov 4 years ago
- fixing some goofyness Seva Luchianov 4 years ago
- MASSIVE update to improve API with stuff I picked up from work Seva Luchianov 4 years ago
- log starting options Seva Luchianov 5 years ago
- need better flags Seva Luchianov 5 years ago
- better logs Seva Luchianov 5 years ago
- fix user info Seva Luchianov 5 years ago
- properly clean up srt data Seva Luchianov 5 years ago
- maybe fix subtitle html Seva Luchianov 5 years ago
- Add discord link to footer Seva Luchianov 5 years ago
- MD kek Seva Luchianov 5 years ago
- maybe fix my MD Seva Luchianov 5 years ago
- better comment and local fixes Seva Luchianov 5 years ago
- more gotchas Seva Luchianov 5 years ago
- more local bs Seva Luchianov 5 years ago
- Merge branch 'master' of 3.19.94.130:/home/ubuntu/git-repos/watch-together Seva Luchianov 5 years ago
- idk Seva Luchianov 5 years ago