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

Build instructions don't match the source code #136

Open
llimllib opened this issue Mar 11, 2020 · 0 comments
Open

Build instructions don't match the source code #136

llimllib opened this issue Mar 11, 2020 · 0 comments

Comments

@llimllib
Copy link

getting started says:

run gnorm init to get a default gnorm.toml file and template files in the current directory. You need to at least set the ConnStr, DBType, and Schemas values... Now, to test your configuration, run gnorm preview. This will query your database and spit out all the information Gnorm knows about your database, including schema names, table names, column info, custom types, etc. in a nice tabular format.

This does not work because gnorm init creates templates in a directory called templates, with the extension .gotmpl, but the config file it creates expects them to be in testdata/<template>.tpl.

Either the documentation should be updated to tell users to modify the template path in their config, or (preferably) the config file should point at the correct filenames generated by gnorm init

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