1.0.0 • Published 3 years ago
judoscale-sample-express v1.0.0
Judoscale Demo (Express)
A tiny Node.js app for testing Judoscale.
Local Run
- Assuming you'll want to run this sample App locally "as is" first make sure you have Heroku CLI installed.
heroku -v - Make sure you are at the sample app root:
sample_apps/express_web - It is good practice to have
NODE_ENVdeclared, for this:touch .env && echo "NODE_ENV=development" >> .env - Install dependencies:
npm install - Then run the app:
bin/devThis will run not only the app but also Judoscale proxy so you can check the metrics being collected by it.
In case you are working on one of Judoscale's adapters within this project you can replace the NPM published one for a local version.
Uninstall the original package
npm uninstall judoscale-nodeReplace it with the local copy
npm install "../../web"1.0.0
3 years ago