Skip to content

mkasep/fox

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fox

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 Build Status

The FoxAPI application implements this specification

Starting a web-based UI

A web UI is built with jekyll, to start it:

  1. Make sure Jekyll is installed.
  2. 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

Building a demo REST server

  1. Change to the directory where the repository is cloned.
  2. Setup environment and build application:
export GOPATH=$PWD
go get fox      # get dependencies
go install fox  # application will be built into bin/fox

Running a REST server

  1. Copy and adapt example configuration file:
  2. 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.

About

An implementation of Fox Registry, the reference architecture for cloud-ready government systems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 37.2%
  • CSS 32.7%
  • HTML 30.1%