Skip to content
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

Default to default.template.toml, fall back to template-schema.js #227

Open
benloh opened this issue Mar 17, 2022 · 1 comment
Open

Default to default.template.toml, fall back to template-schema.js #227

benloh opened this issue Mar 17, 2022 · 1 comment

Comments

@benloh
Copy link
Collaborator

benloh commented Mar 17, 2022

template-schema does not correctly generate a _default.template file.

The top level parameters do not quite match up.

@benloh
Copy link
Collaborator Author

benloh commented Apr 1, 2022

We should be able to generate a new
default.template.toml file from the schema. That would ensure that
default template is up to date.

There isn't a single-button UI for this
currently, but you CAN basically do this by:

  1. Start NetCreate with a new db, e.g. ./nc.js --dataset=newdefault
  2. Clicking "New Template" on the "More... > Edit Template" tab.
  3. Clicking "Save Changes"
  4. Copy the file to netcreate-2018/build/app/assets/templates/
  5. Renaming the saved template to _default.template.toml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant