Skip to content

rogererens/enterprise-clojure-training

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enterprise Clojure Training

Clojure is serious business!
— Timothy Pratley

A Clojure training course for Developers and Senior Developers working on Enterprise software.

Please visit the Website to see the precompiled course material.

A list of companies and individuals offering Clojure training is here this page.

Rationale

Clojure has been in the "adopt" zone of the Thoughtworks tech radar since 2014. But companies face the challenge of how to prepare their staff to be productive using Clojure. Creating a structured enterprise style course material will enable more people to offer Clojure courses suitable for companies wanting to adopt Clojure.

Usage

Slides have Keyboard shortcuts.

Contributing

If you have suggestions on how to improve this course, I would love to hear them. Issues welcome. Pull requests welcome.

Developing

The manual and slides source material are under the docs directory. The material is written in asciidoc (.adoc) format, which gets compiled to HTML and PDF. They are built to HTML and PDF using Asciidoctor, and output to the site directory. Refer to the Writer’s Guide for syntax. Asciidoctor provides excellent document producing features and allows slides to be generated as RevealJS slideshows.

When editing the material, there are many live preview tools to chooose from here. I use the IntelliJ plugin as it is simple to install and works well. There is also a ./watch.sh command to build when the source file changes. The Web (Epiphany) browser reloads from disk when the HTML file changes.

Building

You can install asciidoctor, asciidoctor-pdf, and ascidoctor-revealjs locally and run

./build.sh

But installing these tools is a bit of a pain…​ so two ways to get the dependencies are provided:

The Ruby way

Requires Ruby.

You don’t need to install Asciidoctor. Asciidoctor is a dependency specified in the Gemfile. However you will need Ruby and Bundler to pull down the Asciidoctor and RevealJS plugin dependencies.

Requires Bundler:

gem install bundler

Pull the dependencies:

bundle --path=.bundle/gems --binstubs=.bundle/.bin

Now you can call the build script:

bundle exec ./build.sh

To have the build watch for file changes and rebuild automatically:

./watch.sh

You need entr (Event Notify Test Runner) installed for watch to work, I highly recomend it.

brew install entr

Or

apt install entr

The Docker way

Alternatively, if you prefer pulling a Docker image over installing dependencies:

docker run -v $(pwd):/documents/ asciidoctor/docker-asciidoctor /documents/build.sh

Deploying

TravisCI automatically deploys the latest version to GitHub Pages. Build Status

Manual deployment:

./deploy.sh

About

A Clojure training course for Developers and Senior Developers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.6%
  • CSS 35.8%
  • HTML 14.2%
  • Other 0.4%