Fork me on GitHub
#polylith2021-01-08
>
shields09:01:48

Hello, thanks for making polylith. I have a question regarding using Datomic Ions. I'm getting this error when invoking the lambda.

"Message": "'datomic/ion-config.edn' is not on the classpath",
I saw this https://polylith.freeflarum.com/d/8-anyone-using-polylith-with-deps-based-projects/5 in the forums which shows how to use it with the legacy system. I've tried to convert it and still get the error. Any suggestions on where to put the ion-config.edn file?

licht1stein14:10:29

Hi @U2BDZ9JG3 please advice what is the right way to do it today? Has this been fixed?

furkan3ayraktar15:10:27

Ah this was due to symbolic links that Polylith used back then. Polylith ditched that idea and now uses :local/root approach. You can safely use latest versions of Datomic and Polylith. We use them at work without any issues. We place the Ion configuration under projects/PROJECT_NAME/resources/datomic/ion-config.edn.

licht1stein11:10:51

@U2BDZ9JG3 could you share a sample project please? We're still struggling with launching it on ions (at least it deploys now).