Skip to content

Building From Source

no0p edited this page Oct 19, 2014 · 2 revisions

The pgantenna project is rails application and a Dockerfile.

The rails application can be configured with a regular workflow once ruby and related dependencies are installed.

cd pgantenna
bundle install
rake db:create
rake db:reset

To start the receiver program, which creates a TCPServer for pgsampler to connect to, run a rake task:

rake antenna:start

To run the server in a simple mode:

rails s

The application can then be configured and deployed as any other rails application.

Building a Docker Image

There is a Dockerfile in the root directory of the project, and some Docker related assets in the /docker directory.

To build, simply make any modification desired to the Dockerfile and related assets, then run:

docker build -t pgantenna .
Clone this wiki locally