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

db folder not created by lein #1

Closed
danpicton opened this issue Feb 18, 2019 · 2 comments
Closed

db folder not created by lein #1

danpicton opened this issue Feb 18, 2019 · 2 comments

Comments

@danpicton
Copy link

I found that running:
lein new duct film-ratings +site +ataraxy +sqlite +example

Didn't create the db folder as stated in the blog post. The following error was encountered on issuing the (go) fn:

user=> (dev)
:loaded
dev=> (go)

SQLException path to 'db/dev.sqlite': '/home/dan/projects/clojure/blog-film-ratings/db' does not exist  org.sqlite.core.CoreConnection.open (CoreConnection.java:192)

When I created the db folder, things worked as expected.

For reference, I'm using Leiningen 2.8.1 on Java 1.8.0_201 Java HotSpot(TM) 64-Bit Server VM.

@chrishowejones
Copy link
Owner

I'll take a look when I get a chance.

@chrishowejones
Copy link
Owner

@danpicton Hmm, not sure what's going on but I've tried it several times and it always creates the db/ dir as part of the lein template. Maybe there was a bug introduced to the template which has now been resolved? Anyway glad you figured out how to get around it.

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

2 participants