mirror of
https://github.com/taigrr/shorturl
synced 2025-01-18 04:03:16 -08:00
Update README.md
This commit is contained in:
parent
f053de8cd4
commit
0ccdc15c0f
@ -9,8 +9,14 @@ complex urls for easier sharing or embedding.
|
|||||||
|
|
||||||
### Source
|
### Source
|
||||||
|
|
||||||
|
Due to the necessity of the way assets are handled if you are building/installing from source and intend to run outside of the source tree you need to do something like this:
|
||||||
|
|
||||||
```#!bash
|
```#!bash
|
||||||
$ go install github.com/prologic/shorturl/...
|
$ go get github.com/GeertJohan/go.rice/rice
|
||||||
|
$ go get github.com/prologic/shorturl
|
||||||
|
$ cd $GOPATH/src/github.com/prologic/shorturl
|
||||||
|
$ rice embed-go
|
||||||
|
$ go build
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user