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
- fix style Seva Luchianov 5 years ago
- wip Seva Luchianov 5 years ago
- wip Seva Luchianov 5 years ago
- mkdir Seva Luchianov 5 years ago
- adding a bunch of fancy icons Seva Luchianov 5 years ago
- Videos are now stored in videos/:id/video.mp4 rather than videos/:id.mp4 Also added subtitle uploading. Seva Luchianov 5 years ago
- nope Seva Luchianov 5 years ago
- delete old tokens Seva Luchianov 5 years ago
- make builder for email util, implement password changed emails Seva Luchianov 5 years ago
- wrong key Seva Luchianov 5 years ago
- kek actually require captcha Seva Luchianov 5 years ago
- oops Seva Luchianov 5 years ago
- eh Seva Luchianov 5 years ago
- a typo Seva Luchianov 5 years ago
- make login require captcha and implement captcha bypass tokens for password reset Seva Luchianov 5 years ago
- changed the subdomain Seva Luchianov 5 years ago
- fix bug Seva Luchianov 5 years ago
- make start.sh runnable Ubuntu 5 years ago
- better max size messages Seva Luchianov 5 years ago
- reduce max storage to 20 GB again and fix converting UI bug Seva Luchianov 5 years ago
- try to fix ghost users. update storage remaining during conversions Seva Luchianov 5 years ago
- notify who paused the video Seva Luchianov 5 years ago
- fix Seva Luchianov 5 years ago
- ensure logged in by hand Seva Luchianov 5 years ago
- must have 2x space of file to upload, also implement watchroom links Seva Luchianov 5 years ago
- Merge branch 'master' of 3.19.94.130:/home/ubuntu/git-repos/watch-together Seva Luchianov 5 years ago
- add start script Seva Luchianov 5 years ago
- fix Seva 5 years ago
- completely forgot about reg page for captcha and password validation logic Seva 5 years ago
- ah Seva Luchianov 5 years ago