![]() ![]() Then, from your local machine, set up an SSH tunnel. This will prevent Nightlight from accepting connections from outside localhost. Bind Nightlight to localhost and access it via SSH tunnelingįirst, pass :host "localhost" to the Boot task (or -host localhost to the lein command). With Leiningen or the official clj tool, do this in the command: lein nightlight -user "admin passw0rd" clj -m re -user "admin passw0rd" 2. Find many great new & used options and get the best deals for Project SEKAI COLORFUL STAGE Wafers Card Vol.4 Kanade Yoisaki Nightcode at 25:00 at the best. With Boot, it's recommended that you do this in ~/.boot/profile.boot: (set-env! :dependencies ']) Nightlight allows you to require a username and password. Keep in mind that anyone will be able to access it if they know the address! To prevent this, there are two options: 1. Run Nightlight on your desired port, and make sure the server is exposing that port publicly. (nightlight :port 4000 :url " With Leiningen or the official clj tool, pass the URL into the command: lein nightlight -url " clj -m re -url " That's it! This is quite possibly the simplest setup process you'll find for a ClojureScript REPL.Ĭan I use this to develop on a remote server?Ībsolutely. (cljs :source-map true :optimizations :none) With Boot, just pass the URL into the boot task: (deftask run ![]() Tell Nightlight what address your ClojureScript app is running on Note: Leiningen users will also need to add Nightlight to the dependencies vector in project.clj: 2. Just add it to your main ns form like this: (ns re Require nightlight.repl-server in your ClojureScript app ![]() Setting it up involves just two steps: 1. Additionally, it will enable the instaREPL in all your ClojureScript files. Nightlight can optionally display a ClojureScript REPL tab that contains an embedded view of your ClojureScript app and a REPL that can access it. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |