Code Monkey home page Code Monkey logo

izbicki.me's Introduction

izbicki.me

This is the github repo for my hakyll-based website http://izbicki.me.

If you are submitting a post, first fork the repo by pressing the fork button in the upper right corner.

Then clone the fork; then checkout the draft branch; then create a branch just for your post:

$ git clone https://github.com/yourusername/izbicki.me
$ git checkout draft
$ git checkout -b myposttitle

Next, create a file in the /blog folder for your post. For example, if you're writing about alien kittens living on mars, you might create a file called /blog/alien-kittens-on-mars.md. The file should be in the same markdown format that github uses. It will automatically be converted to html.

To preview your work, you'll need to:

  1. Install the haskell platform
  2. Install the hakyll library using the command cabal install hakyll
  3. Run the preview script in the repo: ./preview.sh

This will compile your markdown file into html and start a simple webserver hosting your file. To see what your file looks like, visit http://localhost:8000. You do not have to redo this command every time you update your file. The webserver will automatically detect that the file has changed and display the new file.

If you want to include images on the page, copy the image into the /img folder of the repo. The url you should use for the image is /img/nameofimage.png.

When finished, upload your results to github:

$ git add .
$ git commit -m "my post"
$ git push origin myposttitle

Then issue a pull request through the github interface. When I accept your request, the webpage will be automatically updated.

izbicki.me's People

Contributors

mikeizbicki avatar rgosh001 avatar

Watchers

 avatar  avatar

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.