Fork me on GitHub
#docker
<
2017-10-12
>
felipebarros19:10:40

I need to setup a very simple docker integration into an existing, very small, mostly static project that I'm porting to CLJS. The important thing now is to have it enable REPL driven development, serve the page and watch and reload after changes. Tried searching for a guick start but there is too much noise. Does anybody remember a nice tutorial or guide?

felipebarros19:10:23

Or maybe have an example Dockerfile? I'm currently using Boot.

felipebarros19:10:25

I have Docker correctly installed and know the basics but that's it.

gonewest81821:10:08

Where are you planning to run your editor? Inside docker, or on the host computer?

gonewest81821:10:45

I don’t know of a specific template but it also depends what you want to do.

felipebarros21:10:41

For now I just want it to serve and refresh html and css and give me an nrepl to connect with Emacs

gonewest81821:10:59

There’s an unmerged pull request on the modern-cljs project that is attempting to do this… but based on the comments perhaps unfinished… https://github.com/magomimmo/modern-cljs/pull/349

felipebarros21:10:39

Wow, thanks for that, I'm actually following modern-cljs.

gonewest81821:10:46

The comment “I do not know how to link or network two containers” should be easily handled with linking, if that’s the only issue.