Skip to content

Latest commit

 

History

History
70 lines (52 loc) · 1.25 KB

README.md

File metadata and controls

70 lines (52 loc) · 1.25 KB

Development environment

1. Install dependencies and Go runtime

For Debian/Ubuntu

sudo apt-get install -y curl bison gcc
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
source ~/.gvm/scripts/gvm
gvm install go1.4.3
gvm use go1.4.3
gvm pkgset create l0xyd
gvm pkgset use l0xyd

For OSX if you have brew

brew install go
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
source ~/.gvm/scripts/gvm
gvm install go1.4.3
gvm use go1.4.3
gvm pkgset create l0xyd
gvm pkgset use l0xyd

For FreeBSD

pkg install go-1.5.1 gmake git mercurial

2. Download L0xyd sources

go get github.com/LPgenerator/L0xyd
cd ~/.gvm/pkgsets/go1.4.3/l0xyd/src/github.com/LPgenerator/L0xyd

3. Install L0xyd dependencies

This will download and restore all dependencies required to build L0xyd:

make deps

For FreeBSD use gmake deps

4. Run L0xyd

Normally you would use L0xyd, in order to compile and run Go source use go toolchain:

go run main.go run

You can run L0xyd in debug-mode:

go run --debug main.go run

5. Compile and install L0xyd binary

go build
go install

6. Congratulations!