Sign inSign up

fastscore/dashboard

By fastscore

•Updated about 7 years ago

FastScore Dashboard Microservice

Artifact
Image
0

10K+

fastscore/dashboard repository overview

⁠Description

FastScore Dashboard is a visual tool allowing users to interact with running instances of the FastScore family of microservices.

Please visit the FastScore Getting Started Guide⁠ for a detailed review of how to get FastScore up and running.

⁠Dashboard Demo

In order to deploy the FastScore Dashboard demo, execute the following on a machine running Docker:

  1. If not already done so, make sure the FastScore Engine Demo⁠ microservice has been launched:
docker run -it --rm --name fastscore-rest fastscore/engine:demo
  1. Launch the FastScore Dashboard microservice on the same machine:
docker run -it --rm -p 8000:80 --name fastscore-microservices-dahsboard \
--link fastscore-rest:rest fastscore/dashboard:demo
  1. With a web browser, connect to port 8000 of the machine running both FastScore Engine and FastScore Dashboard. For example:
http://localhost:8000/

Note: Google Chrome⁠ is strongly suggested

You should now see something like this:

alt text

  1. Here are three simple models that can be deployed:
⁠easy.json
{"input": "double", "output": "double", "action": {"+": ["input", 100]}}
⁠perm.json
{"input": "double", 
 "output": "null", 
 "action": [{"for": {"i": 0}, "while": {"<": ["i", 100]}, "step": {"i": {"+": ["i", 1]}}, 
 "do": {"a.permutations": {"type": {"type": "array", "items": "double"}, 
 "new": [{"+": ["input", 1]}, {"+": ["input", 2]}, {"+": ["input", 3]}, {"+": ["input", 4]},
 {"+": ["input", 5]}, {"+": ["input", 6]}, {"+": ["input", 7]}]}}}, null]}
⁠structured.json
{"input": {"type": "array", "items": {"type": "map", "values": 
{"type": "record", "name": "TwoFields", "fields": 
[{"name": "x", "type": "double"}, {"name": "y", "type": "string"}]}}}, 
"output": "TwoFields", "action": {"rand.choice": {"map.values": {"rand.choice": "input"}}}}

Tag summary

Content type

Image

Digest

Size

34.2 MB

Last updated

over 7 years ago

docker pull fastscore/dashboard