Skip to content

gfronza/porthos-playground

 
 

Repository files navigation

Porthos Dashboard

A playground application for trying out a porthos-rpc cluster.

Requirements

  • RabbitMQ (any other AMQP 0.9.1 broker)
  • SQLite

Build

First of all, you need to download govendor:

go get -u github.com/kardianos/govendor

Fetch all go dependencies:

govendor sync

Then build the app:

go build

Running the app

After building the executable, you may run the playground as following:

./porthos-playground -bind 8080 -broker amqp:// -db playground.db

Using the playground in your local docker environment

In the image, there's the dockerize utility so you can use it to start the playground only after RabbitMQ is up and running.

playground:
  image: porthos/porthos-playground
  command: dockerize -wait tcp://broker:5672 -timeout 60s /go/src/github.com/porthos-rpc/porthos-playground/playground
  links:
   - broker
  environment:
    BROKER_URL: amqp://guest:guest@broker:5672/
    BIND_ADDRESS: :8080
  ports:
   - "8080:8080"

Local environment

To speed things up we provide a docker environment. Just run docker-compose up then open http://localhost:8080/.

About

A playground application for trying out a porthos-rpc cluster.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 52.5%
  • JavaScript 45.7%
  • HTML 1.8%