This repository was archived by the owner on Mar 16, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 80
Installation
Max Schmitt edited this page Nov 10, 2017
·
7 revisions
TODO
Download the package for your architecture and operating system from bintray and extract it. The tarball contains the binary and the default configuration file. To extract it execute the following command:
tar -xjvf
Requirements:
- Node.js
- Yarn
- Make
- Golang with correctly set GOPATH and
GOPATH/bin
to thePATH
environment variable
Start by getting the repository:
go get github.com/maxibanki/golang-url-shortener
You can ignore the 'no buildable Go source files in' warning. That just means that the compiler can't find the not yet static built frontend and template files. Next go into the downloaded folder.
cd $GOPATH/src/github.com/maxibanki/golang-url-shortener
Now we can execute our Makefile which builds the binaries from source. To see the build steps, you can take a look at it.
make