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 library nav Seva Luchianov 5 years ago
- oops Seva Luchianov 5 years ago
- css and keyup Seva Luchianov 5 years ago
- add words Seva Luchianov 5 years ago
- better data Seva Luchianov 5 years ago
- zxcvbn Seva Luchianov 5 years ago
- ujh Seva Luchianov 5 years ago
- rework password validation Seva Luchianov 5 years ago
- oof Seva Luchianov 5 years ago
- retyiurn Seva Luchianov 5 years ago
- posttt Seva Luchianov 5 years ago
- evil form encoded format Seva Luchianov 5 years ago
- add logs, deleted limit param for bodyParser Here Seva Luchianov 5 years ago
- almost there Seva Luchianov 5 years ago
- pls Seva Luchianov 5 years ago
- css Seva Luchianov 5 years ago
- put captcha on the endpoint Seva Luchianov 5 years ago
- references Seva Luchianov 5 years ago
- use map for middlewares Seva Luchianov 5 years ago
- add captcha Seva Luchianov 5 years ago
- dontneed this Seva 5 years ago
- fix reg link Seva 5 years ago
- add logs to email Seva 5 years ago
- maybe fix confirmation flow Seva 5 years ago
- fix confirmation page error Seva 5 years ago
- Wire up password reset button. Also fix reference for confirmation token in login path Seva 5 years ago
- add forgot password link Seva 5 years ago
- add glue that wasnt there for email confirmation. Consolidate error handlers Seva 5 years ago
- Implement password reset (except trigger it). Add good password validation. Fix responses / flow for request token endpoints Seva 5 years ago
- this Seva 5 years ago