This is no longer being used! We have moved the metrics server into the core lando repo. See https://github.com/lando/lando/tree/master/metrics
Lightweight node server that powers Lando metrics.
Local development requires lando.
# Clone the site
git clone https://github.com/kalabox/lando-stats-server.git
cd lando-stats-server
lando npm install
You'll want to drop a .env
file in the root of this repo with the relevant creds.
LANDO_METRICS_PORT=7000
LANDO_METRICS_TIMEOUT=100000
LANDO_METRICS_BUGSNAG={}
LANDO_METRICS_ELASTIC={}
# Boot up with lando
lando start
# Things
lando grunt test
Using GitHub Flow push a branch to this project and open a pull request. If tests pass and the pull request is accepted the change is automatically deployed.
git checkout -b ISSUESNUMBER-ISSUEDESCRIPITON
git add -A
git commit -m "#ISSUENUMBER: COMMIT DESCRIPTION"
lando push origin ISSUESNUMBER-ISSUEDESCRIPITON