Haskell HTML CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
fonts
js
reviews
templates
wtf
.gitignore
README.md
about.md
contact.md
cyprio.cabal
favicon.ico
index.html
package.json
robots.txt
site.hs
stack.yaml

README.md

Cyprio.net

This is the source for http://cyprio.net

To build it, you will need:

  • Stack, or Cabal to build Haskell dependencies,
  • Node.js to build stylesheets,
  • and some free time.

To deploy, you will need Rsync. All those things should have packages for your favorite OS.

Setup

Install Node.js dependencies:

npm install

Install and build Haskell code with stack:

stack build && stack install

This should build all the relevant deps, and compile a site program.

After a couple of coffees away from the 🔥 of your CPU, you can run the site program directly.

Deploying

Use site deploy to deploy to /tmp/www, or change the DEST environment variable to deploy elsewhere.

For example:

DEST=server.com:/srv/blog/www site deploy

License

  • The haskell program site.hs, templates, stylesheets and javascript files are published in the public domain, without any warranty that they can be of any (good) use at all. Use at your own risk!
  • All other contents are © Arnaud Berthomier.