SASU caumond website
This website embeds my resume to promote sasu caumond's work.
Before anything else, run bb doctor
to check if your environment is ready to run with the website.
Run
bb doctor
npm install
After having copied a local copy of the repository on your computer, go to the directory and launch in two separate threads:
bb repl-clj
bb repl-cljs
or directly to call both (but logs would be mixed up):
bb env-dev
It starts locally a webserver on port 8080
, a clj repl on 8000
, a cljs repl on 8787
.
Then, any modification in the cljs, or html code will be automagically sent to local web server.
A production like environment could be build and pushed to clever cloud with:
bb deploy
but if you'd like to test the jar locally you can build it with :
bb build-uberjar
java -jar target/production/sasu-caumond-1.0.jar
But if you can also call the command below:
bb env-production
Browser caching should be disabled when developer tools are open to prevent interference with
shadow-cljs
hot reloading.
Custom formatters must be enabled in the browser before CLJS DevTools can display ClojureScript data in the console in a more readable way.
- Open DevTools (Linux/Windows:
F12
orCtrl-Shift-I
; macOS:⌘-Option-I
) - Open DevTools Settings (Linux/Windows:
?
orF1
; macOS:?
orFn+F1
) - Select
Preferences
in the navigation menu on the left, if it is not already selected - Under the
Network
heading, enable theDisable cache (while DevTools is open)
option - Under the
Console
heading, enable theEnable custom formatters
option
- Open Developer Tools (Linux/Windows:
F12
orCtrl-Shift-I
; macOS:⌘-Option-I
) - Open Developer Tools Settings
(Linux/macOS/Windows:
F1
) - Under the
Advanced settings
heading, enable theDisable HTTP Cache (when toolbox is open)
option
Unfortunately, Firefox does not yet support custom formatters in their devtools. For updates, follow the enhancement request in their bug tracker: 1262914 - Add support for Custom Formatters in devtools.
For clojure deps, you can run
bb deps ;; For clojure deps and npm
Check regularly and manually w3.css for updates for newer w3 versions.
The next features missing are:
- Add top anchor
- Add npm, git, clj presence in the doctor
- Add training I was teacher of
- Add blogs
- Add SASU mission