Fork me on GitHub
#duct
<
2020-04-25
>
rende1108:04:00

Hello! I have some problems with set-up example.

lein new duct myapp +site +ataraxy +example +cljs
Generating a new Duct project named myapp...

rende1108:04:19

And the next step is

lein duct setup
'duct' is not a task. See 'lein help'.

rende1108:04:30

What's wrong?

Kevin08:04:03

Did you cd into your project?

rende1108:04:57

Omg, no. Now it's working! Thx!😄

🎉 4
Kevin08:04:52

Great! Also I suggest running lein ancient in your project. The template is a bit outdated https://github.com/xsc/lein-ancient

rende1108:04:15

Is it possible use duct without lein but with deps.edn?

Kevin08:04:33

I'm not sure. Haven't tried it. I know that duct uses a lein middleware to package the duct_hierarchy.edn file. I don't know if you need that if you don't use it yourself

Kevin09:04:01

This might have to be "translated" to deps.edn somehow

Kevin09:04:27

Specifically when building uberjars

Kevin09:04:35

Worst case you can use deps.edn for dependency resolving, and lein for building

stevej13:04:52

My setup is deps.edn . Using a locally modified seancorfield/depstar to get an uberjar. I have not used lein in awhile so might be missing some stuff but developing with a repl seems to be ok

rende1117:04:12

Can U share repo?

stevej19:04:20

I quickly put this https://github.com/Stephen-J/ductdeps together as an example