An implementation of Fox Registry, the reference architecture for cloud-ready government systems. More detail of the project, its architecture and rationale is available at https://www.ria.ee/riigiarhitektuur/wiki/doku.php?id=an:rebasteregister
The FoxAPI application implements this specification
A web UI is built with jekyll, to start it:
- Make sure Jekyll is installed.
- Run
jekyll serve
from the static folder.
If you see errors about the encoding of files on OS X, try this:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
- Change to the directory where the repository is cloned.
- Setup environment and build application:
export GOPATH=$PWD
go get fox # get dependencies
go install fox # application will be built into bin/fox
- Copy and adapt example configuration file:
- Execute Fox binary passing an instance name as a parameter.
cp src/fox/config.gcfg.template bin/config.gcfg
mkdir /tmp/foxdb # make sure that the configured storage folder exists.
cd bin
./fox
REST interface will respond on http://localhost:8090/. You should now be able to use web UI. To change a port or name of the application ("my" by default), check ./bin/fox -h.