Giter VIP home page Giter VIP logo

thibaud-dauce's Introduction

Thibaud Dauce

This is my personal website with Hakyll, all the explanations are in my blog post.

Requirements

Stack

You need to install the stack build tool first. See the official documentation for installation instructions.

On Arch Linux, just run:

pacman -S stack

Front-end

I'm using Laravel Mix to compile my CSS. You'll need NPM to run the scripts.

On Arch Linux, just run:

pacman -S nodejs

Installation

First, download GHC and all the Haskell stuff:

stack setup

Then, build the executable:

stack build

And finally, generate the website:

stack exec thibaud build

Usage

Haskell modification

Each time you modify the Haskell files, you need to rebuild the executable with:

stack build

Posts' creations and modifications

To start with a clean installation, run:

stack exec thibaud rebuild

This command will clean the _site folder and rebuild all the website.

Then run the web server with:

stack exec thibaud watch

This command will trigger a rebuild each time a file is changed. To rebuild the CSS after a change, you'll need to run npm run watch.

thibaud-dauce's People

Contributors

antoineaugusti avatar christophecluizel avatar thibauddauce avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

thibaud-dauce's Issues

[ERROR] Hakyll.Core.UnixFilter.unixFilterWith: sassc ./sass/app.sass gave exit code 1

root@AR:/usr/local# git clone https://github.com/ThibaudDauce/thibaud-dauce thibaud.dauce.fr
root@AR:/usr/local# cd thibaud.dauce.fr
root@AR:/usr/local/thibaud.dauce.fr# ghc --make thibaud.hs
root@AR:/usr/local/thibaud.dauce.fr# ./thibaud rebuild
it shows:
...
[ERROR] Hakyll.Core.UnixFilter.unixFilterWith: sassc ./sass/app.sass gave exit code 1
root@AR:/usr/local/thibaud.dauce.fr# gem install sassc
root@AR:/usr/local/thibaud.dauce.fr# which sassc
/usr/local/bin/sassc
root@AR:/usr/local/thibaud.dauce.fr# ./thibaud rebuild

i still encounter:
[ERROR] Hakyll.Core.UnixFilter.unixFilterWith: sassc ./sass/app.sass gave exit code 1

how to fix it?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.