Skip to content

labboy0276/lando-stats-server

 
 

Repository files navigation

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

REST API for Kalabox anonymous metrics tracking.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%