Skip to content

Commit

Permalink
Updating the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmonettas committed Apr 19, 2024
1 parent 24fdb5d commit 50a5f0a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,16 @@ The latest released version is: [![Clojars Project](https://img.shields.io/cloja

```bash
clj -Sforce -Sdeps '{:deps {com.github.jpmonettas/clograms {:mvn/version "RELEASE"}}}' -M -m clograms.server --platform clj clojure-project-folder
```
``

### Index a ClojureScript project :

```bash
clj -Sforce -Sdeps '{:deps {com.github.jpmonettas/clograms {:mvn/version "RELEASE"}}}' -M -m clograms.server --platform cljs clojurescript-project-folder
```

**Run the command from outside your project folder (instead of with .) so your dependecies don't get loaded inside Clogram's process which can lead to some confilcts**

When indexing finishes, point your browser to http://localhost:3000 and wait a little bit for it to load, it needs to transfer the entire index to the browser.

You can also run your browser in app mode like `google-chrome --app=http://localhost:3000`.
Expand Down

0 comments on commit 50a5f0a

Please sign in to comment.