moneygo/README.md

41 lines
1.2 KiB
Markdown
Raw Normal View History

2017-06-05 20:24:19 -04:00
# MoneyGo
2017-06-05 20:24:19 -04:00
## Installation
2017-06-05 20:30:26 -04:00
First, install npm in your distribution:
2017-06-05 20:24:19 -04:00
2017-06-05 20:30:26 -04:00
$ sudo pacman -S npm
Install browserify globally using npm:
2017-06-05 20:24:19 -04:00
$ sudo npm install -g browserify
You'll then want to build everything (the Golang and Javascript portions) using
something like:
$ export GOPATH=`pwd`
$ go get -v github.com/aclindsa/moneygo
$ go generate -v github.com/aclindsa/moneygo
$ go install -v github.com/aclindsa/moneygo
2017-06-05 20:30:26 -04:00
This may take quite a while the first time you build the project since it is
auto-generating a list of currencies and securities by querying multiple
websites and services. To avoid this step, you can `touch
src/github.com/aclindsa/moneygo/cusip_list.csv` before executing the `go
generate ...` command above. Note that this will mean that no security templates
are available to easily populate securities in your installation. If you would
like to later generate these, simply remove the cusip_list.csv file and re-run
the `go generate ...` command.
2017-06-05 20:24:19 -04:00
## Running
Assuming you're in the same directory you ran the above installation comands
from, running MoneyGo is then as easy as:
$ ./bin/moneygo \
-port 8080 \
-base src/github.com/aclindsa/moneygo/
2017-06-05 20:30:26 -04:00
You should then be able to explore MoneyGo by visiting http://localhost:8080 in
your browser.