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

How to configure database connection? #438

Open
tulio-albuquerque opened this issue Jun 21, 2023 · 3 comments
Open

How to configure database connection? #438

tulio-albuquerque opened this issue Jun 21, 2023 · 3 comments
Labels

Comments

@tulio-albuquerque
Copy link

Hi, I'm following the getting started guide in your site but there is a bug on line 10 of the database.cr and, although it runs when I comment it, the command crystal sam.cr -- help returns no task and because of that I cannot generate the makefile.

I am using, in a widows machine with wsl ubuntu 22.04:
crystal version 1.8.2
kemal version 1.4.0
jennifer version 0.12.0

@tulio-albuquerque
Copy link
Author

It seems that removing the '--' makes it work

@tulio-albuquerque
Copy link
Author

The makefile generated when I run crystal sam.cr generate:makefile expects the sam.cr to be inside the src for some reason, but it was generated on the project's folder

@imdrasil
Copy link
Owner

Hi, I've release a new version of sam.cr to address the issue with makefile. Also could you share more info on the "bug" you've faced?

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

No branches or pull requests

2 participants