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
- bcrypt doesn't work with npm >= 7 right now Seva Luchianov 4 years ago
- fix nullref Seva Luchianov 4 years ago
- fix email confirmation Seva Luchianov 4 years ago
- fix refs Seva Luchianov 4 years ago
- yikes Seva Luchianov 4 years ago
- carry this over to master eventually Seva Luchianov 4 years ago
- Split up account requests, implement prefs updates, implement ads (WIP), remove state requests Seva Luchianov 4 years ago
- update bcrypt Seva Luchianov 4 years ago
- create tools folder and populate prefs tool Seva Luchianov 4 years ago
- scan log files after upload Seva Luchianov 4 years ago
- Implement client side logging and export Seva Luchianov 4 years ago
- update schema and cleanup stuff Seva Luchianov 4 years ago
- Start work on optional ads Seva Luchianov 4 years ago
- Implement serverside logging and error handling Seva Luchianov 4 years ago
- fixing refs and storage Seva Luchianov 4 years ago
- make utils for storage stuff Seva Luchianov 4 years ago
- ok this should work Seva Luchianov 4 years ago
- Accepting cookies now sets a cookie to remember that choice Seva Luchianov 4 years ago
- fuck import and fuck default exports. Also extract frontend messages into separate files too Seva Luchianov 4 years ago
- Extract server ws message handlers into separate file (from friends branch) Seva Luchianov 4 years ago
- proxy flag Seva Luchianov 4 years ago
- oops Seva Luchianov 4 years ago
- Split up server ws stuff and add error handling Seva Luchianov 4 years ago
- more styling fixes Seva Luchianov 4 years ago
- fix deleting stuff you cant delete Seva Luchianov 4 years ago
- extracted a ton of scss Seva Luchianov 4 years ago
- more styling stuff and cookie consent Seva Luchianov 4 years ago
- fix banner bugs, styling, nullrefs Seva Luchianov 4 years ago
- Added modal code and we import now Seva Luchianov 4 years ago
- Error handling client side is getting there Seva Luchianov 4 years ago