jacobobryant / biff

A Clojure web framework for solo developers.
https://biffweb.com
MIT License
866 stars 40 forks source link

server-setup.sh fails on some machines due to missing dependencies #146

Closed KarolisL closed 1 year ago

KarolisL commented 1 year ago

Some ubuntu installs are more minimal than others. The one I've encountered, lacked the following things:

Since the missing dependency was revealed only once the script would execute the line containing the missing program, I kept running rm -rf /home/app/ ; deluser app ; delgroup app multiple times.

This could be solved by installing these dependencies as we install default-jre.

In the long run, it might make sense to make the script more resilient (in terms of error handling), so it would continue from a particular step it failed on.

jacobobryant commented 1 year ago

Thanks for the PR. I've developed the script against DigitalOcean's ubuntu install--it probably is more on the featureful side.

In the long run, it might make sense to make the script more resilient (in terms of error handling), so it would continue from a particular step it failed on.

Agreed; just made an issue for this: #148