Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashawley/scalacheck-hakyll
https://github.com/ashawley/scalacheck-hakyll
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ashawley/scalacheck-hakyll
- Owner: ashawley
- Created: 2019-12-15T04:35:59.000Z (about 5 years ago)
- Default Branch: develop
- Last Pushed: 2020-01-21T04:22:14.000Z (almost 5 years ago)
- Last Synced: 2024-10-31T12:46:48.020Z (about 2 months ago)
- Language: Haskell
- Size: 207 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ScalaCheck.org site with Hakyll
===============================[![Build Status](https://travis-ci.org/ashawley/scalacheck-hakyll.svg?branch=develop)](https://travis-ci.org/ashawley/scalacheck-hakyll)
Install GHC and Cabal.
- https://www.haskell.org/downloads/
- https://www.haskell.org/cabal/Install Hakyll.
$ cabal install hakyll
Compile the `site` executable command:
$ cabal build
Generate the site from the sources:
$ cabal run site build
You can preview the site from http://localhost:8000 in a browser:
$ cabal run site watch
If you change `site.hs`, then re-compile the executable:
$ cabal build
And then you need to rebuild the entire site:
$ cabal run site rebuild
More information on Hakyll:
- https://jaspervdj.be/hakyll/
Create a project in Firebase.
- https://console.firebase.google.com
Install the Firebase CLI.
$ npm install -g firebase-tools
- https://firebase.google.com/docs/cli
Authenticate with Firebase.
$ firebase login
Initialize your project.
$ firebase init
- Choose "hosting"
- Choose "use an existing project"
- Set `_site` as the "public directory"
- Answer "no" to "Configure as single-page app"Preview the site at http://localhost:5000 in a browser:
$ firebase serve
Upload the site.
$ firebase deploy