58 lines
1.6 KiB
Markdown
58 lines
1.6 KiB
Markdown
# sci.script-tag
|
||
|
||
Interpret Clojure directly in your browser using [SCI](https://github.com/borkdude/sci).
|
||
|
||
## Dev
|
||
|
||
```
|
||
$ clojure -M:dev -m shadow.cljs.devtools.cli watch main
|
||
```
|
||
|
||
<!-- ## Release -->
|
||
|
||
<!-- Static files including compiled JS are hosted on Github. This is set up like -->
|
||
<!-- described -->
|
||
<!-- [here](https://medium.com/linagora-engineering/deploying-your-js-app-to-github-pages-the-easy-way-or-not-1ef8c48424b7): -->
|
||
|
||
<!-- All the commands below assume that you already have a git project initialized and that you are in its root folder. -->
|
||
|
||
<!-- ``` -->
|
||
<!-- # Create an orphan branch named gh-pages -->
|
||
<!-- git checkout --orphan gh-pages -->
|
||
<!-- # Remove all files from staging -->
|
||
<!-- git rm -rf . -->
|
||
<!-- # Create an empty commit so that you will be able to push on the branch next -->
|
||
<!-- git commit --allow-empty -m "Init empty branch" -->
|
||
<!-- # Push the branch -->
|
||
<!-- git push origin gh-pages -->
|
||
<!-- ``` -->
|
||
|
||
<!-- Now that the branch is created and pushed to origin, let’s configure the worktree correctly: -->
|
||
|
||
<!-- ``` -->
|
||
<!-- # Come back to master -->
|
||
<!-- git checkout master -->
|
||
<!-- # Add gh-pages to .gitignore -->
|
||
<!-- echo "gh-pages/" >> .gitignore -->
|
||
<!-- git worktree add gh-pages gh-pages -->
|
||
<!-- ``` -->
|
||
|
||
<!-- After cloning this repo to a new dir: -->
|
||
|
||
<!-- ``` -->
|
||
<!-- git fetch origin gh-pages -->
|
||
<!-- git worktree add gh-pages gh-pages -->
|
||
<!-- ``` -->
|
||
|
||
<!-- To deploy to Github Pages: -->
|
||
|
||
<!-- ``` -->
|
||
<!-- script/release -->
|
||
<!-- ``` -->
|
||
|
||
## License
|
||
|
||
Copyright © 2021 Michiel Borkent
|
||
|
||
Distributed under the EPL License. See LICENSE.
|