Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binocarlos/powerstrip-debug
A powerstrip adapter that logs requests to stdout.
https://github.com/binocarlos/powerstrip-debug
Last synced: 10 days ago
JSON representation
A powerstrip adapter that logs requests to stdout.
- Host: GitHub
- URL: https://github.com/binocarlos/powerstrip-debug
- Owner: binocarlos
- Created: 2015-01-23T15:37:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-25T17:50:33.000Z (almost 10 years ago)
- Last Synced: 2024-04-14T02:29:07.601Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 96.7 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
powerstrip-debug
================A [Powerstrip](https://github.com/ClusterHQ/powerstrip) adapter that logs requests to stdout.
## install
```bash
$ docker build -t binocarlos/powerstrip-debug .
```## run the adapter
```bash
$ docker run -d --name powerstrip-debug \
--expose 80 \
binocarlos/powerstrip-debug
```It can be handy to run the debug adapter in its own shell and leave it attached so you can see its output as requests are made:
```bash
$ docker run -ti --rm --name powerstrip-debug \
--expose 80 \
binocarlos/powerstrip-debug
```## run powerstrip
First create a powerstrip configuration with the debug adapter:
```bash
$ mkdir -p ~/powerstrip-demo
$ cat > ~/powerstrip-demo/adapters.yml <