This repository has been archived by the owner on Dec 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from Hylozoic/update-graphql-ui-and-configs
Update graphiql-ui, agent configs and add hylo-ui build
- Loading branch information
Showing
17 changed files
with
10,888 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,80 @@ | ||
# -- Hylo DNA, Agent and Instance config | ||
|
||
[[dnas]] | ||
id = "hylo_dna" | ||
file = "./dna/hylo.dna.json" | ||
hash = "Qm328wyq38924y" | ||
|
||
[[agents]] | ||
id = "hylo_agent" | ||
name = "HoloTester1" | ||
public_address = "HcScjcgKqXC5pmfvka9DmtEJwVr548yd86UPtJGGoue9ynuikuRTN7oE5zcjgbi" | ||
keystore_file = "./agent1.keystore" | ||
|
||
[[dnas]] | ||
id = "chat_dna" | ||
file = "./dna/hylo.dna.json" | ||
hash = "Qm328wyq38924y" | ||
|
||
[[instances]] | ||
id = "hylo-chat" | ||
dna = "chat_dna" | ||
dna = "hylo_dna" | ||
agent = "hylo_agent" | ||
[instances.logger] | ||
type = "simple" | ||
file = "app_spec.log" | ||
[instances.storage] | ||
type = "memory" | ||
path = "tmp-storage" | ||
|
||
# -- WS-RPC interface to Hylo DNA | ||
[instances.logger] | ||
type = "simple" | ||
file = "app_spec.log" | ||
|
||
[instances.storage] | ||
type = "memory" | ||
path = "tmp-storage" | ||
|
||
# -- Hylo DNA WS-RPC interface | ||
|
||
[[interfaces]] | ||
id = "websocket_interface" | ||
[interfaces.driver] | ||
type = "websocket" | ||
port = 3401 | ||
[[interfaces.instances]] | ||
id = "hylo-chat" | ||
|
||
# # -- Hylo UI | ||
[[interfaces.instances]] | ||
id = "hylo-chat" | ||
|
||
# [[ui_bundles]] | ||
# id = "hylo-ui" | ||
# root_dir = "./hylo-ui" | ||
# hash = "Qm000" | ||
[interfaces.driver] | ||
type = "websocket" | ||
port = 3401 | ||
|
||
# [[ui_interfaces]] | ||
# id = "hylo-interface" | ||
# bundle = "hylo-ui" | ||
# port = 8000 | ||
# -- Hylo UI Bundle (location of files) and UI Interface (http) | ||
|
||
# -- GraphiQl HTTP interface and UI | ||
[[ui_bundles]] | ||
id = "hylo-ui" | ||
root_dir = "./hylo-ui" | ||
|
||
[[interfaces]] | ||
id = "GraphiQl-http-interface" | ||
[interfaces.driver] | ||
type = "http" | ||
port = 4002 | ||
[[interfaces.instances]] | ||
id = "hylo-chat" | ||
[[ui_interfaces]] | ||
bundle = "hylo-ui" | ||
dna_interface = "websocket_interface" | ||
id = "hylo-ui-interface" | ||
port = 8001 | ||
|
||
# -- GraphiQl UI Bundle (location of files) and UI Interface (http) | ||
|
||
[[ui_bundles]] | ||
id = "main" | ||
root_dir = "./ui/build" | ||
hash = "Qm000" | ||
id = "graphiql-ui" | ||
root_dir = "./graphiql-ui/build" | ||
|
||
[[ui_interfaces]] | ||
id = "ui-interface" | ||
bundle = "main" | ||
port = 5002 | ||
dna_interface = "GraphiQl-http-interface" | ||
bundle = "graphiql-ui" | ||
dna_interface = "websocket_interface" | ||
id = "graphiql-ui-interface" | ||
port = 5001 | ||
|
||
# -- Networking | ||
|
||
# [network] | ||
# n3h_path = "/path/to/n3h" | ||
# n3h_persistence_path = "/tmp" | ||
# bootstrap_nodes = [] | ||
# n3h_log_level = "t" | ||
[network] | ||
n3h_persistence_path = "/tmp" | ||
n3h_log_level = "t" | ||
bootstrap_nodes=[] | ||
# # For testing with a persistent n3h bootstrap node | ||
# bootstrap_nodes = [ | ||
# "wss://holo-dna.hylo.com:38474/?a=HcSCirG9ghgy9owfdiSmaibqwD5jz9tfb5iBd4QRXrqheadsviW8bw3W3qCrm3r" | ||
# ] | ||
|
||
# -- Logger (settings below will disable most logging) -- | ||
|
||
# [logger] | ||
# type="debug" | ||
# [[logger.rules.rules]] | ||
# exclude=true | ||
# pattern=".*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.