Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Austin #69

Open
wants to merge 52 commits into
base: master
Choose a base branch
from
Open

Austin #69

wants to merge 52 commits into from

Conversation

magomimmo
Copy link
Contributor

I Creighton, I had the chance to add austin to domina, so I did it.

I started from the previous "restart" branch and then progressively added all the needed things to make domina work with austin brepl set up.

To test it:

lein do compile, repl

The repl will be initialized with the domina.servernamespace. Run the ring server as follows:

domina.server=> (run)
2013-11-18 15:36:53.031:INFO:oejs.Server:jetty-7.6.8.v20121106
2013-11-18 15:36:53.060:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080
#<Server org.eclipse.jetty.server.Server@642052de>
domina.server=>

Then initialize the brepl as follows:

domina.server=> (def repl-env (reset! cemerick.austin.repls/browser-repl-env
           #_=>           (cemerick.austin/repl-env)))
Browser-REPL ready @ http://localhost:57505/7028/repl/start
#'domina.server/repl-env
domina.server=>

Next, turn your Clojure REPL into a ClojureScript REPL as follows:

omina.server=> (cemerick.austin.repls/cljs-repl repl-env)
Type `:cljs/quit` to stop the ClojureScript REPL
nil
cljs.user=>

Now, just visit localhost:8080 to activate the brepl connection. You can now evaluate CLJS forms in the bREPL.

My best

@ckirkendall
Copy link
Collaborator

I will take a look at this later this week. I am a bit swamped right now.

@magomimmo
Copy link
Contributor Author

simplified brepl connection by adding :injections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants