forked from openshift/console
-
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
Ed Rooth
committed
Jul 28, 2014
1 parent
b436ea8
commit 21c371e
Showing
7 changed files
with
53 additions
and
18 deletions.
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
/bin | ||
/prox.exe | ||
/Godeps/_workspace/github.com/coreos-inc/bridge | ||
/frontend/public/bower_components | ||
/frontend/public/dist |
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
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
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,12 @@ | ||
package main | ||
|
||
import ( | ||
"github.com/coreos-inc/bridge/Godeps/_workspace/src/github.com/coreos/devweb/slave" | ||
|
||
"github.com/coreos-inc/bridge/server" | ||
) | ||
|
||
func main() { | ||
server.Handle() | ||
slave.Main() | ||
} |
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,6 @@ | ||
#!/bin/sh -e | ||
|
||
source build | ||
|
||
go install github.com/coreos/devweb | ||
PATH=$PATH:$PWD ./bin/devweb -addr :9000 github.com/coreos-inc/bridge/dev |
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,27 @@ | ||
package main | ||
|
||
import ( | ||
"log" | ||
"net/http" | ||
"os" | ||
|
||
"github.com/coreos-inc/bridge/server" | ||
) | ||
|
||
var ( | ||
listenAddress string | ||
) | ||
|
||
func main() { | ||
server.Handle() | ||
|
||
listenAddress = os.Getenv("ADDRESS") | ||
if listenAddress == "" { | ||
listenAddress = "0.0.0.0:9000" | ||
} | ||
|
||
log.Printf("listening on: %s", listenAddress) | ||
if err := http.ListenAndServe(listenAddress, nil); err != nil { | ||
log.Fatal("error on ListenAndServe: %s", err) | ||
} | ||
} |
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