mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-22 04:14:25 +00:00
Add development section to explain how to build binaries
This commit is contained in:
parent
372ac4fbc1
commit
4b39b4a390
19
README.md
19
README.md
@ -82,6 +82,25 @@ When you want to create a jailed environment for each client, you can use Docker
|
||||
$ gotty -w docker run -it --rm busybox
|
||||
```
|
||||
|
||||
## Development
|
||||
|
||||
You can build a binary yourself using following commands. Windows is not supported now.
|
||||
|
||||
```sh
|
||||
# Install tools
|
||||
go get github.com/jteeuwen/go-bindata/...
|
||||
go get github.com/tools/godep
|
||||
|
||||
# Checkout hterm
|
||||
git submodule sync && git submodule update --init --recursive
|
||||
|
||||
# Restore libraries in Godeps
|
||||
godep restore
|
||||
|
||||
# Build
|
||||
make
|
||||
```
|
||||
|
||||
# License
|
||||
|
||||
The MIT License
|
||||
|
Loading…
Reference in New Issue
Block a user