forked from blakesmith/skeeter-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e46462
commit 47c1ef0
Showing
2 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Skeeter for Go | ||
|
||
This is a port of [skeeter](http://github.com/blakesmith/skeeter) to Go. | ||
|
||
## Why? | ||
|
||
The original skeeter implementation was built with ZeroMQ in Ruby and had seperate processes for each piece. Ensuring all the pieces were behaving correctly became a hassle, so I ported it to Go to get familiar with the net/http library in Go. | ||
|
||
## Dependencies | ||
|
||
See [Native Dependencies](https://github.com/blakesmith/skeeter#native-dependencies) from [skeeter](http://github.com/blakesmith/skeeter) | ||
|
||
## Building | ||
|
||
[Install Go](http://golang.org/doc/install) | ||
|
||
Then run ```go run skeeter.go``` from within the skeeter directory. | ||
|
||
To cross compile for linux 386 from OS X, I followed this wiki page to setup the compiler toolchain: http://code.google.com/p/go-wiki/wiki/WindowsCrossCompiling | ||
|
||
Once that's setup, I ran: | ||
|
||
``` | ||
CGO_ENABLED=0 GOOS=linux GOARCH=386 go build skeeter.go | ||
``` | ||
|
||
This generates the ```skeeter-go``` binary, which you run to start the web server. | ||
|
||
## The Future | ||
|
||
With the present design, ```curl``` ```convert``` and ```jp2a``` are used to process the image. I'd like to convert these to native Go code. | ||
|
||
## Author | ||
|
||
Skeeter is written by Blake Smith <[email protected]>. | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters