-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add config/default.yaml to .gitignore and create it programatically #52
Comments
The config package handles this. Default.yaml can be left intact and you can create a file e.g. mainnet.yaml and edit the configs that you want changed. Omitted stuff gets inherited from default.yaml. You have to set NODE_ENV=mainnet to use mainnet.yaml. It has to be documented and a script that creates regtest, testnet and mainnet templates added to docker as well. Those could be in .gitignore. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I rewrite
config/default.yaml
with my own defaults, I don't want to accidentally commit my changes.Can we have this ignored by git and created programmatically?
Or, have a
default.example.yaml
file and gitignoredefault.yaml
.The text was updated successfully, but these errors were encountered: