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
- idk Seva 5 years ago
- fdsaf Seva 5 years ago
- css Seva 5 years ago
- better page feedback Seva 5 years ago
- enforce good passwords Seva 5 years ago
- expires after 1 day Seva 5 years ago
- fix webpack Seva 5 years ago
- serve this page Seva 5 years ago
- wird Seva 5 years ago
- send confirmation email on login if necessary Seva 5 years ago
- dont needlessly post Seva 5 years ago
- I think we wrote email confirmation Seva 5 years ago
- lose logs Seva Luchianov 5 years ago
- faster than regex!? Seva Luchianov 5 years ago
- need to replace all globally Seva Luchianov 5 years ago
- make the emails look like not shit Seva Luchianov 5 years ago
- test Seva Luchianov 5 years ago
- file Seva Luchianov 5 years ago
- fdas Seva Luchianov 5 years ago
- fdsa Seva Luchianov 5 years ago
- lets test this email thing Seva Luchianov 5 years ago
- fix fullscreen button Seva Luchianov 5 years ago
- implementing confirmation emails Seva 5 years ago
- pls Seva 5 years ago
- oops Seva 5 years ago
- add mailgun Seva 5 years ago
- fix registration result Seva 5 years ago
- too many wildcards Seva 5 years ago
- Fix how we reference globals, define globals for JSHint, fix reg script Seva 5 years ago
- update = changed, delete = affected Seva 5 years ago