Skip to content

Heph-archive/sasu

Repository files navigation

sasu caumond

SASU caumond website

Goal

This website embeds my resume to promote sasu caumond's work.

Getting Started

Before anything else, run bb doctor to check if your environment is ready to run with the website.

Run

bb doctor
npm install

Local environment

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.

Production

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 Setup

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.

Chrome/Chromium

  1. Open DevTools (Linux/Windows: F12 or Ctrl-Shift-I; macOS: ⌘-Option-I)
  2. Open DevTools Settings (Linux/Windows: ? or F1; macOS: ? or Fn+F1)
  3. Select Preferences in the navigation menu on the left, if it is not already selected
  4. Under the Network heading, enable the Disable cache (while DevTools is open) option
  5. Under the Console heading, enable the Enable custom formatters option

Firefox

  1. Open Developer Tools (Linux/Windows: F12 or Ctrl-Shift-I; macOS: ⌘-Option-I)
  2. Open Developer Tools Settings (Linux/macOS/Windows: F1)
  3. Under the Advanced settings heading, enable the Disable 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.

Update dependencies

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.

TODO

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published