Skip to content

Commit 098966d

Browse files
committed
Signed-off-by: Eric Windisch <[email protected]>
1 parent 5865bd8 commit 098966d

12 files changed

+1
-972
lines changed

Dockerfile

-5
This file was deleted.

Dockerfile.test

-4
This file was deleted.

README.md

+1-58
Original file line numberDiff line numberDiff line change
@@ -143,65 +143,8 @@ For more on writing filters see:
143143
A Go-based CLI exists to create and export npm modules, share code,
144144
and provide runtime of magnetic kernels.
145145

146-
Download the [latest binary release](https://github.com/iopipe/iopipe/releases) and chmod 755 the file.
146+
Find this tool in the [IOpipe-Golang repo](https://github.com/iopipe/iopipe-golang).
147147

148-
Building from source? See [Build & Install from source](#build--install-from-source).
149-
150-
Alternatively, download & alias our Docker image:
151-
152-
```bash
153-
$ docker pull iopipe/iopipe:trunk
154-
$ docker run --name iopipe-data iopipe/iopipe:trunk
155-
$ eval $(echo "alias iopipe='docker run --rm --volumes-from iopipe-data iopipe/iopipe:trunk'" | tee -a ~/.bashrc)
156-
$ iopipe --help
157-
```
158-
159-
OS-specific packages are forthcoming.
160-
161-
### Command-line Examples
162-
163-
```sh
164-
# Import a kernel and name it com.example.SomeScript
165-
$ iopipe import --name com.example.SomeScript - <<<'input'
166-
167-
# List kernels
168-
$ iopipe list
169-
170-
# Fetch response and process it with com.example.SomeScript
171-
$ iopipe --debug exec http://localhost/some-request com.example.SomeScript
172-
173-
# Fetch response and convert it with SomeScript, sending the result to otherhost
174-
$ iopipe --debug exec http://localhost/some-request com.example.SomeScript \
175-
http://otherhost/request
176-
177-
# Fetch response and convert it with SomeScript, send that result to otherhost,
178-
# & converting the response with the script ResponseScript
179-
$ iopipe --debug exec http://localhost/some-request com.example.SomeScript \
180-
http://otherhost/request some.example.ResponseScript
181-
182-
# Export an NPM module:
183-
$ iopipe export --name my-module-name http://localhost/some-request com.example.SomeScript
184-
```
185-
186-
---------------------------------------
187-
Build & Install from source
188-
---------------------------------------
189-
190-
With a functioning golang 1.5 development environment:
191-
192-
```bash
193-
$ go build
194-
$ ./iopipe --help
195-
```
196-
197-
Alternatively use Docker to build & deploy:
198-
199-
```bash
200-
$ docker build -t iopipe-dev .
201-
$ docker run --name iopipe-data iopipe-dev
202-
$ eval $(echo "alias iopipe='docker run --rm --volumes-from iopipe-data iopipe-dev'" | tee -a ~/.bashrc)
203-
$ iopipe --help
204-
```
205148
---------------------------------------
206149
Security
207150
---------------------------------------

api.go

-81
This file was deleted.

cache_path.go

-66
This file was deleted.

circle.yml

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ test:
44
- go get github.com/mattn/goveralls
55
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
66
override:
7-
- go test -v -cover -race -coverprofile=$HOME/coverage.out
87
- ./node_modules/.bin/istanbul cover jasmine
98
post:
10-
- $HOME/.go_workspace/bin/goveralls -coverprofile=$HOME/coverage.out -service=circle-ci -repotoken=$COVERALLS_TOKEN
119
- $HOME/.go_workspace/bin/goveralls -gocovdata=./coverage/coverage.json -service=circle-ci -repotoken=$COVERALLS_TOKEN

0 commit comments

Comments
 (0)