Repository of my blog. Source on branch source.
HTML JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
2011
2012
2013/03/17/ganar-guerra-de-toques
2014
about-me
blog
images
javascripts
projects
sandbox/blindmice
stylesheets
tag
uploads
CNAME
README.md
favicon.ico
favicon1.ico
favicon2.ico
favicon3.ico
feed.xml
index.html
sitemap.xml

README.md

What is this?

This is the source of Zequez.com, powered by Github pages and Middleman.

This doesn't look like a Middleman project? Where is the source?

That's correct, this is the master branch, Github processes this repository with Jekyll and hosts it as a static website. This is the build directory created by Middleman, you can see the source on the source branch.

How is the build workflow?

I copied the .git folder into the build folder, then I switched the root of the project to the source branch, and the build folder to the master branch. Then when I want to commit a change in the source I commit from the root of the project and when I want to commit a change in the build, I commit from the build folder.

So basically do the following:

git clone https://github.com/Zequez/zequez.github.io
cd zequez.github.io
mkdir build
cp -R .git build
checkout source
cd build
checkout master

Development and publishing scripts

To mount the project for development or previewing something you're writing, use:

./server.sh

If you want to preview the static server of the build directory to see that everything is alright (it should be):

./static_server.sh

And after you're done and want to commit your changes to Github:

./publish.sh

Edit: Thank you, me from the past for writing these instructions and scripts.