1
0

Add installation section

This commit is contained in:
dump_stack() 2019-12-27 07:12:09 +00:00
parent e03dff8409
commit fc2ee93b57
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -13,7 +13,21 @@ out-of-tree is for automating some routine actions for creating development envi
![Screenshot](https://cloudflare-ipfs.com/ipfs/Qmb88fgdDjbWkxz91sWsgmoZZNfVThnCtj37u3mF2s3T3T) ![Screenshot](https://cloudflare-ipfs.com/ipfs/Qmb88fgdDjbWkxz91sWsgmoZZNfVThnCtj37u3mF2s3T3T)
## Requirements ## Installation
### GNU/Linux (with [Nix](https://nixos.org/nix/))
$ curl https://nixos.org/nix/install | sh
$ nix-env -iA nixpkgs.out-of-tree
### macOS
$ brew tap jollheef/repo
$ brew install out-of-tree
## Build from source
### Requirements
[Qemu](https://www.qemu.org), [docker](https://docker.com) and [golang](https://golang.org) is required. [Qemu](https://www.qemu.org), [docker](https://docker.com) and [golang](https://golang.org) is required.
@ -23,22 +37,22 @@ Also do not forget to set GOPATH and PATH e.g.:
$ echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc $ echo 'export PATH=$PATH:$HOME/bin' >> ~/.bashrc
$ source ~/.bashrc $ source ~/.bashrc
### Gentoo #### Gentoo
# emerge app-emulation/qemu app-emulation/docker dev-lang/go # emerge app-emulation/qemu app-emulation/docker dev-lang/go
### macOS #### macOS
$ brew install go qemu $ brew install go qemu
$ brew cask install docker $ brew cask install docker
### Fedora #### Fedora
$ sudo dnf install go qemu moby-engine $ sudo dnf install go qemu moby-engine
Also check out [docker post-installation steps](https://docs.docker.com/install/linux/linux-postinstall/). Also check out [docker post-installation steps](https://docs.docker.com/install/linux/linux-postinstall/).
## Build from source ### Build
$ go get -u code.dumpstack.io/tools/out-of-tree $ go get -u code.dumpstack.io/tools/out-of-tree