Fork me on GitHub
#off-topic
<
2020-03-22
>
Gleb Posobin12:03:25

I am putting a clojure backend on my own server, what workflow would you suggest for deployment? I want something close to heroku workflow in terms of convenience, and also want to be able to run it locally in an environment closest to the server. Have only worked with heroku before, and have trouble googling this stuff.

hindol12:03:18

Heroku does support Clojure if that's what you want.

Gleb Posobin13:03:16

I know that, I want to use my own server.

Ahmed Hassan13:03:37

http://dokku.viewdocs.io/dokku/ The smallest PaaS implementation you've ever seen

Gleb Posobin13:03:16

I have seen it, but how do I reproduce the environment locally?

mloughlin16:03:46

you uberjar your project and sftp it to the server when you deploy or push the most up to date version to a hosted git repo (hub/lab/etc) and build on your server

mloughlin16:03:23

you'll probably need a few small shell scripts to manage database migrations and so on.

ordnungswidrig07:03:37

Docker is not the worst if you want the same env locally and in production.