Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

lando/lando-stats-server

Repository files navigation

DEPRECATED!

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

Lando Metrics Server

Lightweight node server that powers Lando metrics.

Local Development

Installing

Local development requires lando.

# Clone the site
git clone https://github.com/kalabox/lando-stats-server.git
cd lando-stats-server
lando npm install

Configuration

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={}

Running Site Locally

# Boot up with lando
lando start

Testing

# Things
lando grunt test

Deploying

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

About

DEPRECATED! REST API for anonymous metrics tracking.

Resources

Stars

Watchers

Forks

Packages

No packages published