Closed erikvdbergh closed 6 years ago
Relevant comments below:
My comment, I just waiting for the confirmation to that shinto-cli
works on linux and windows, then I will clean up the old documentation and link the new one.
I should have done a branch with the restructure documentation using templates, but I was not expecting that beta tester on this stage without any informal instruction, my mistake
shinto-cli
generates the files according to the templates and the config.ini fine.
I haven't actually tried to see f the result is valid, but I take it that with the correct values they wil work :)
Relevant comments below:
I happen to know that these are Jinja2 templates and I can refresh my memory on how to compile Jinja2 templates based on an ini file, but this could be documented as well as it may not be obvious.
And reading a bit further it looks like j2cli doesn't work with fileglobs, so install shinto-cli after all and use that.
I guessed what the correct values for settings would be in config.ini. I had previously created a namespace called "tesk" for my testing so I used that for the namespace settings.
~~I also tried the example request in README.md (I had to modify it a bit): curl -H "Content-Type: application/json" -d @specs/examples/task_example.json https://tesk-test.rahtiapp.fi/v1/tasks~~
~~The command above gave me an HTTP 400 error with: JSON parse error: Unrecognized field \"project\"~~
Tasks: