Re: Complete Web Development Setup Using Clojure CLI Tools

2020-05-05 Thread Jag Gunawardana
The work above seems to be enough to get a Cider repl and code reload (from shadow-cljs) working. So if you start the ring server with clojure -A:run and then run a shadow-cljs repl on the :build id it will hot reload your cljs code. On Thursday, 30 April 2020 11:06:43 UTC+1, Jag Gunawardana wr

Re: Complete Web Development Setup Using Clojure CLI Tools

2020-04-30 Thread Jag Gunawardana
One things I forgot. For a landing/marketing page, the main business aim is to get someone to signup/in so the difference between the prod and dev app is that for dev, I use a redirect (as per the signup link), in production I have an Nginx rule that redirects the user to an application page. As

Re: Complete Web Development Setup Using Clojure CLI Tools

2020-04-30 Thread Jag Gunawardana
Quick background: I often use static site generators for landing pages, marketing pages etc. Hugo is normally my goto product for this as the themes are good and it is easy enough to change them, but recently I felt that there has to be a better way when you want something (just slightly) beyon

Re: Complete Web Development Setup Using Clojure CLI Tools

2020-04-29 Thread Blake Miller
Jag, I think what you described is worth sharing. I like the simplicity of that approach and the efficiency of the final artifact. -Blake -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com

Re: Complete Web Development Setup Using Clojure CLI Tools

2020-04-27 Thread raybaq
Hi Jag, Would love to learn more about your approach. I have just gotten started with shadow-cljs. I read about Stasis some time ago but havent actually used it. TIA, Ray On Monday, April 27, 2020 at 8:24:22 PM UTC+8, Jag Gunawardana wrote: > > Thanks Gary for posting this up. Was a great h

Re: Complete Web Development Setup Using Clojure CLI Tools

2020-04-27 Thread Jag Gunawardana
Thanks Gary for posting this up. Was a great help for a slightly different use case. I was using static site generators like Hugo, but always found that I ended up having to learn their internals/templating to make larger changes. I also wanted to use Clojurescript and it was painful to do so. I

Re: Complete Web Development Setup Using Clojure CLI Tools

2018-07-20 Thread Gary Johnson
Thanks for the link! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group

Re: Complete Web Development Setup Using Clojure CLI Tools

2018-07-18 Thread Tim Goodwin
for additional inspiration, i suggest looking at https://github.com/juxt/edge On Monday, 9 July 2018 17:14:22 UTC+1, Gary Johnson wrote: > > Howdy Clojurians, > > I recently started developing a new Clojure+Clojurescript web application, > and I wanted to see if I could set up my development env

Re: Complete Web Development Setup Using Clojure CLI Tools

2018-07-17 Thread Gary Johnson
Thanks, Chad. I have built quite a few toy and production full-stack Clojure web apps over the past 6 years or so using leiningen and boot. While both of these are great tools with a lot of programmer hours invested in them, I realized recently that neither of them are particularly easy to expl

Re: Complete Web Development Setup Using Clojure CLI Tools

2018-07-11 Thread Chad Stovern
This is awesome Gary thank you for sharing! I just finished a toy project that is also full stack with a leiningen setup so it was interesting to compare. I could see this being easy to extend to also add a :garden alias to compile css as well in a clj/css.clj file. Keep up the awesome work!

Re: Complete Web Development Setup Using Clojure CLI Tools

2018-07-10 Thread Gary Johnson
For those of you playing along at home, you may have noticed that there were two bugs in the code I presented above. I have since fixed those issues in the Gitlab repository that I linked to in my previous post. If you didn't just grab the repository, here are the fixes for you to add manually

Re: Complete Web Development Setup Using Clojure CLI Tools

2018-07-09 Thread Gary Johnson
Hi again, folks. Just to make it easier for everyone to use this template right away, I put all these files into a public git repository on Gitlab. Here's the URL: https://gitlab.com/lambdatronic/clojure-webapp-template Happy hacking! ~Gary -- You received this message because you are sub