Skip to content

Help with applications #116

Answered by ellmetha
treagod asked this question in Q&A
Aug 3, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Hey! 👋

Thanks for the feedback! Yes the Marten applications mechanism is definitely inspired by Django's. 🙂
There is some documentation around applications and how to create them but I guess it's not visible enough or complete enough. I'll definitely look into that.

Regarding the error you are encountering, I think there may be two reasons:

  1. The requirement of ./blog/**" in src/project.cr should be changed to ./blog/app. The reason behind that is that CLI-related abstractions related (such as the migration ones, which are only used through the Marten CLI) are not required by Marten itself when you require Marten via require "marten". The automatically generated blog/app.cr file requires o…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@treagod
Comment options

treagod Aug 3, 2023
Collaborator Author

Answer selected by ellmetha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants