Webscaling on legacy codebase to handle large user load querying onto database of 10 million records
- Fork or clone
- Install the dependencies
- Scroll down to see installation procedure
npm start
ornpm test
An nvmrc
file is included if using nvm.
- Node 12.16.2 (I just put the version I run on. Good luck.)
- etc
From within the root directory:
npm install
npm run data
npm run pGen
npm run pSeed
If npm pSeed
shows an error saying Fail, exit immediately and re-run
If you receive this error upon testing for pSQL, just run it again
error: syntax error at or near "s"
at Connection.parseE (node_modules/pg/lib/connection.js:600:48)
at Connection.parseMessage (node_modules/pg/lib/connection.js:399:19)
at Socket.<anonymous> (node_modules/pg/lib/connection.js:115:22)