1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-18 10:07:02 +00:00

Update README

Switch to github.com for source of httpbuf, thegoods.biz is not firewall
friendly because it refers people to the git:// URL
This commit is contained in:
James Hillyerd
2012-10-22 16:08:13 -07:00
parent db0d553f5d
commit 3099777044
2 changed files with 4 additions and 9 deletions

View File

@@ -41,16 +41,11 @@ You will need a functioning [Go installation][1] for this to work.
Grab the Inbucket source code and compile the daemon: Grab the Inbucket source code and compile the daemon:
go get -v github.com/jhillyerd/inbucket go get -v github.com/jhillyerd/inbucket
go get -v github.com/gorilla/mux
go get -v github.com/gorilla/sessions
go get -v thegoods.biz/httpbuf
cd $GOPATH/src/github.com/jhillyerd/inbucket
go build main/inbucketd.go
Edit conf/inbucket.conf and tailor to your environment. It should work on most Edit etc/inbucket.conf and tailor to your environment. It should work on most
Unix and OS X machines as is. Unix and OS X machines as is. Launch the daemon:
./inbucketd conf/inbucket.conf $GOPATH/bin/inbucket $GOPATH/src/github.com/jhillyerd/inbucket/etc/inbucket.conf
By default the SMTP server will be listening on localhost port 2500 and By default the SMTP server will be listening on localhost port 2500 and
the web interface will be available at [localhost:9000](http://localhost:9000/). the web interface will be available at [localhost:9000](http://localhost:9000/).

View File

@@ -5,12 +5,12 @@ package web
import ( import (
"fmt" "fmt"
"github.com/goods/httpbuf"
"github.com/gorilla/mux" "github.com/gorilla/mux"
"github.com/gorilla/sessions" "github.com/gorilla/sessions"
"github.com/jhillyerd/inbucket/config" "github.com/jhillyerd/inbucket/config"
"github.com/jhillyerd/inbucket/log" "github.com/jhillyerd/inbucket/log"
"net/http" "net/http"
"thegoods.biz/httpbuf"
"time" "time"
) )