Skip to content

clojuredays/clojuredays.org

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

545 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ClojureDays conference public website

Welcome to the ad-hoc, home-grown, half-assed static site generator for the https://clojuredays.org website!

This repository hosts the sources as well as the public site itself on top of GitHub pages.

Generate the css and html (and possibly at some time js)

Prerequisites

Compile the stylesheet

Styles are written in SCSS, so you need to translate them into vanilla CSS. You have two options:

  • the recommended way is to install sass in some way then:
sass sass/css/main.scss public/css/main.css

as an alternative, use mise:

mise x ruby@3.4.6 -- sass sass/css/main.scss:public/css/main.css --style compressed --no-source-map

Generate the static pages

clojure -X:generate-html

Serve the static site locally

Assuming you have python3 installed on your system:

$(cd public && python3 -m http.server)

or run

./serve.sh

The website is then accessible at http://localhost:8000

Build script

To generate both the CSS and HTML pages, run:

./build.sh

Deploying changes

Push to master will build and deploy the site using Github Actions. See .github/workflows/build-and-deploy.yaml

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Clojure 75.4%
  • CSS 10.5%
  • SCSS 9.6%
  • JavaScript 4.1%
  • Shell 0.4%