Giter Club home page Giter Club logo

cappuccino.org's Introduction

Cappuccino Website

This is the new GitHub forkable and pull-request ready, static HTML & JS modern Cappuccino website.

How to Contribute to this Site

You will need Docker.

Build the site

docker build -t middleman .
docker run --rm --volume "$PWD":/app -t middleman bundle _1.17.3_ exec middleman build

Preview the site

docker run --rm --publish 4567:4567 --volume "$PWD":/app -t middleman bundle _1.17.3_ exec middleman server

Open http://localhost:4567/ to view the site. When you're done stop the Docker container with Ctrl-C.

While it's running you can simply edit the markdown, HAML, CSS, JavaScript and so on which makes up the site. Middleman will automatically compile it as needed and you can preview the results in your browser.

When you are done, create a fork of this repository, make a branch of master, commit your changes, and make a pull request.

How to Add a Blog Post

Copy an existing blog post to a file with a new name in the right folder. Then modify the preamble (the bit on the top of the post) to indicate the right date and author.

How to Deploy

  • Rsync the contents of build/ to the hosting server.
  • Clear the Cloudflare cache.

Notes

Why is pygments-main copied into the vendor folder?

I didn't find a git repo for this to clone so I checked out the mercurial version and hacked it to improve Objective-J support. Ideally we go to some less hacky solution in the long run.

Credits

Based on Measure Bootstrap Theme, which in turn includes:

cappuccino.org's People

Contributors

ahankinson avatar aljungberg avatar amnesic avatar aparajita avatar cacaodev avatar camelcased avatar daboe01 avatar dependabot[bot] avatar dogild avatar kicsipixel avatar mrcarlberg avatar primalmotion avatar robert-plasq avatar rvanzon avatar theredhead avatar vpetersson avatar zittix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cappuccino.org's Issues

More blog article

Hi guys,

Some people would like more article on the blog, specially about new features, tricks or tutorial.
It would be very nice to have one article per month, for instance the first of each month. If we are several people to do that, it's about to write an article every 3-4 months.

I could start with one about making an app in retina or flat design. I guess @t00f, could make one about mom and ojtest as well.

@aljungberg, @aparajita, @primalmotion, @ahankinson, @daboe01, @mrcarlberg, @cacaodev interested ?

Switch to Github Actions for building and Github Pages for hosting

I have created a github action which builds the site and deploys it to our existing (unused) Github Pages hosting:

https://cappuccino.github.io

Something about the generation of our tag cloud has changed so now tags appear in a different order. The tag cloud wasn't great to begin with though (not sorted by anything, the tag "cappuccino" appearing twice, once with a capital C, etc) so I feel like this might not matter.

Anyhow feedback welcome. Let me know if you see anything that's substantially different between the two sites:

https://www.cappuccino.dev
https://cappuccino.github.io

If there is we will need to fix that before switching cappuccino.dev to point to the new hosting.

We also need to figure out how to deal with old redirects like these:

rewrite ^/2010/04/cappuccino-0-8-tools/?$ http://$host/blog/2010/04/cappuccino-0-8-tools.html permanent;
rewrite ^/2011/05/cappcon-tickets-now-available/?$ http://$host/blog/2011/05/cappcon-tickets-now-available.html permanent;
rewrite ^/2012/04/cappuccino-news-2/?$ http://$host/blog/2012/04/cappuccino-news-2.html permanent;

Maybe replace them with HTML files and meta redirect headers?

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.