Generate the config files using a TOML parser

Now we don't need to change both the template and the resources to add
options
This commit is contained in:
Greg Karékinian
2017-05-03 09:53:45 +02:00
parent 462e7ff858
commit e2b483eb3f
4 changed files with 52 additions and 31 deletions

View File

@@ -1,13 +0,0 @@
[parity]
chain = "<%= @chain %>"
base_path = "<%= @base_path %>"
[network]
port = <%= @network_port %>
[rpc]
# JSON-RPC over HTTP
port = <%= @json_rpc_port %>
[dapps]
# Dapps Server
port = <%= @dapps_port %>
[ui]
port = <%= @ui_port %>