Singularity is a web page that demonstrates how complex integrals work.
- TypeScript 2.2 or later
- The code is written in TypeScript.
- Google Closure Compiler
- Used to minify the JavaScript source code.
- bower
- GNU Make
- The included Makefile is written for GNU Make.
- xsltproc
- Used to strip whitespaces from
index.xhtml.in
.
- Used to strip whitespaces from
- Zopfli or Gzip
- Needed to generate the gzipped version of the files, which can be served as
Content-Encoding: gzip
.
- Needed to generate the gzipped version of the files, which can be served as
Some of the required tools can be installed by npm
:
$ npm install -g typescript google-closure-compiler bower tsd
Fetch the dependencies by:
$ bower update
Compile the source code by:
$ make -j
Install the files to the destination location by:
$ make install dest=/home/foo/public_html/singularity
This software is released under the MIT license. See LICENSE.txt.