CityOfZion / neo-local

Personal blockchain for NEO dApp development!
MIT License
52 stars 26 forks source link

Packaging all config files inside the neo-local binary Go #129

Closed nunojusto closed 5 years ago

nunojusto commented 5 years ago

Problem

IMPORTANT: ONLY MERGE AFTER HOME DIR PR https://github.com/CityOfZion/neo-local/pull/124

Solving https://github.com/CityOfZion/neo-local/issues/116

Solution

Use of packr2 to pack all files needed inside the neo-local binary and dump all of them to the standard config folder. This way if the config files are not present they will be written with default values. After first run, users can also edit files if they want to customize the environment.

NOTE: On this PR I only added notification-server config file. More will be needed in the future but the infrastructure is done

Checklist