FieryCod / holy-lambda

The extraordinary simple, performant, and extensible custom AWS Lambda runtime for Clojure.
https://fierycod.github.io/holy-lambda
MIT License
342 stars 20 forks source link

template is missing Makefile #42

Closed lowecg closed 3 years ago

lowecg commented 3 years ago

I may be using this feature prematurely, but the lein template does not appear to include a Makefile:

lein new holy-lambda getting_started
cd getting_started/
make dry-api
make: *** No rule to make target `dry-api'.  Stop.

$ ls
README.md   bb.edn      deps.edn    envs.json   resources   src     template.yml

PS This looks like being a really useful project, thank you for making it available. PPS Any chance of publishing the work so far for the "getting started" guide?

FieryCod commented 3 years ago

Makefile is no longer used.

There are two reasons for that:

  1. It was hard for me to manage multiple versions of makefile and support all 3 runtimes.
  2. Users were not interested in using makefile. It was very complex.

Makefile has been replaced via bb tasks for which you need babashka to be installed.

On new project just run first: bb stack:sync and if any steps are failing then bb stack:doctor becomes handy.

Full list of tasks with documentation is available when running bb tasks.

I am aware that documentation is rather bad and I'm working to improve it.

PS: You can visit #holy-lambda channel so I can quide you through a process of deployment. It will be useful for me to know what exact issues users find in the process ;)

lowecg commented 3 years ago

Thank you, that makes sense.

I've installed babashka and I've joined the Clojurian channel. It would be good to contribute if I can.