Skip to content
This repository has been archived by the owner on Apr 3, 2022. It is now read-only.

cloxp/cloxp-cljs-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

cloxp live cljs development

The setup is still a bit fiddly, it will get easier soon.

For now here are the steps to get a live cljs workspace going:

  1. Make sure your LivelyKernel/PartsBin/Clojure folder contains the parts from https://github.com/cloxp/cloxp-install/tree/pre-0.0.8/PartsBin/Clojure

  2. Make sure your LivelyKernel repo is of revision cloxp-pre-0.0.8 (https://github.com/cloxp/LivelyKernel/tree/cloxp-pre-0.0.8)

  3. Run those commands in a Shell workspace:

cd! $WORKSPACE_LK;
git clone https://github.com/cloxp/cloxp-cljs-scratch;
cd! $WORKSPACE_LK/cloxp-cljs-scratch;
  1. Open a ClojureScript browser, choose more... -> load project... and make sure that the rksm.cljs-workspace-test namespace gets loaded.

  2. Inside the ClojureScript browser save the rksm.cljs-workspace-test (Command-s). This will compile cljs -> js

  3. Open a Clojure workspace and evaluate

(require '[rksm.cloxp-com.server :as server])
(server/start-server! :port 8084)
  1. Visit http://localhost:8084/test-page.html. The page should load.

  2. Open a ClojureScript workspace ($world.openPartItem("ClojureScriptWorkspace", "PartsBin/Clojure");). You should be able to connect to the test page

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published