git-lfs/docs/linux-build.md

44 lines
733 B
Markdown
Raw Normal View History

2014-06-14 15:06:29 +00:00
## Building on Linux
## Ubuntu 14.04 (Trusty Tahr)
2014-06-14 15:32:11 +00:00
### Building
2014-06-14 15:06:29 +00:00
```
sudo apt-get install golang-go git
./script/bootstrap
```
2015-01-30 17:16:52 +00:00
That will place a git-hawser binary in the `bin/` directory. Copy the binary to a directory in your path:
2014-06-14 15:06:29 +00:00
```
2015-01-30 17:16:52 +00:00
sudo cp bin/git-hawser /usr/local/bin
2014-06-14 15:06:29 +00:00
```
Try it:
```
2015-01-30 17:16:52 +00:00
[949][rubiojr@octox] git hawser
git-hawser v0.0.1
2014-06-14 15:06:29 +00:00
[~]
2015-01-30 17:16:52 +00:00
[949][rubiojr@octox] git hawser init
git hawser initialized
2014-06-14 15:06:29 +00:00
```
2014-06-14 15:32:11 +00:00
### Installing the man pages
2014-06-14 15:38:50 +00:00
You'll need ruby and rubygems to install the `ronn` gem:
2014-06-14 15:32:11 +00:00
```
sudo apt-get install ruby build-essential
sudo gem install ronn
./script/man
sudo mkdir -p /usr/local/share/man/man1
sudo cp man/*.1 /usr/local/share/man/man1
```
2015-01-30 17:16:52 +00:00
`git help hawser` should show the git-hawser manpage now.