mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +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:
11
README.md
11
README.md
@@ -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/).
|
||||||
|
|||||||
@@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user