https://github.com/iopipe/servers.lol
Cattle or crickets? You decide!
https://github.com/iopipe/servers.lol
outreach
Last synced: about 2 months ago
JSON representation
Cattle or crickets? You decide!
- Host: GitHub
- URL: https://github.com/iopipe/servers.lol
- Owner: iopipe
- License: apache-2.0
- Created: 2017-11-06T18:33:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-08T01:00:00.000Z (over 7 years ago)
- Last Synced: 2025-02-13T13:16:43.138Z (4 months ago)
- Topics: outreach
- Language: JavaScript
- Homepage: https://servers.lol
- Size: 53.7 KB
- Stars: 13
- Watchers: 6
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: readme.md
- License: License.txt
Awesome Lists containing this project
README
# Servers.lol
What applications are a good fit for serverless? Which can utilize the benefits of event-driven architecture, blazing-fast deployment times, incredible scalability, and decreased cost? Launch this [Serverless Application Model](https://github.com/awslabs/serverless-application-model) (SAM) repository to get started and find out!
## What does it do?
This project will launch a single lambda function behind API gateway in your environment that grabs some statistics about running Elastic Beanstalk environments. Don't have any Elastic Beanstalk apps? Just skip this repo and head over to [servers.lol](https://servers.lol) to enter in information manually.
## Requirements
- Node.js
- npm or [yarn](https://yarnpkg.com/en/docs/install)
- Proper [AWS credentials](http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html) to launch the service## Setup
1. Clone this repo.
2. Change the PASSWORD environment variable (Line 16) of the template.yml file to a unique password to be used for API Gateway authorization (instead of "none").
3. Run these commands inside the directory:```bash
yarn && yarn run deploy
```Alternatively:
```bash
npm install && npm run deploy
```## Development
If you'd like to hack on this project, here are the details:
### Watch mode - outputs json data to console
```bash
yarn run watch
```### Use SAM local for spinning up server (localhost:4000)
```bash
yarn run api
```