Fork me on GitHub
#reagent
<
2017-04-01
>
PotatoDepaulo20:04:17

Hello! I’m having trouble finding a solid simple solution to deploy a frontend only reagent app. My approach now is just nginx serving the static compiled files using DigitalOcean. Does anyone have a better suggestion? Or maybe a link where I could read more about deploying reagent apps

gadfly36120:04:55

If you are using nginx, here is an example using a docker container: https://github.com/Day8/re-frame-template/issues/20

noisesmith20:04:39

you can also serve from a document store, with a config (I know there's a straightforward way to do this with aws at least)

noisesmith20:04:11

so you don't even need a server, just s3 plus some config (and optionally mapping it from a nice domain name)

mikethompson21:04:48

@pndpo the re-com demo app is frontend-only. We serve it out of an S3 bucket.

mikethompson21:04:55

See how the project is setup: https://github.com/Day8/re-com/blob/master/project.clj Command to deploy: lein s3-static-deploy