This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-01
Channels
- # arachne (3)
- # bangalore-clj (8)
- # beginners (9)
- # cljsrn (3)
- # clojure (148)
- # clojure-filipino (2)
- # clojure-russia (25)
- # clojure-serbia (3)
- # clojure-spec (14)
- # clojure-uk (61)
- # clojureremote (7)
- # clojurescript (38)
- # clojurewest (2)
- # cursive (2)
- # data-science (9)
- # datomic (4)
- # emacs (4)
- # jobs (6)
- # lein-figwheel (3)
- # leiningen (2)
- # off-topic (1)
- # om (3)
- # onyx (1)
- # pedestal (16)
- # perun (2)
- # powderkeg (1)
- # protorepl (2)
- # re-frame (1)
- # reagent (10)
- # spacemacs (2)
- # unrepl (5)
- # untangled (4)
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
If you are using nginx, here is an example using a docker container: https://github.com/Day8/re-frame-template/issues/20
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)
so you don't even need a server, just s3 plus some config (and optionally mapping it from a nice domain name)
Thanks y'all!
doc for what I just mentioned: http://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html
@pndpo the re-com demo app is frontend-only. We serve it out of an S3 bucket.
See how the project is setup: https://github.com/Day8/re-com/blob/master/project.clj
Command to deploy: lein s3-static-deploy