Skip to content
A personal blog made with love. =)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
archetypes
assets
bin
content
data
grunt-custom
grunt
i18n
layouts
static
.csslintrc
.gitignore
.travis.yml
Dockerfile
Gruntfile.js
LICENSE
README.md
config.yaml
homepage-desktop.png
homepage-mobile.png
package-lock.json
package.json

README.md

cercal.io

A brief history of time

Yes, I know that this title remembers a book title by Stephen Hawking, but at this case it’s about my blog. =)

Well, everything started in 2010 when I decided to have a blog, it has been a long time and many different things happened to myself on the way, however, this is a complete redesign of an old Symfony project, that was migrated to PhalconPHP, then to Wordpress and finally to text based application (which is the status quo today).

Thanks to all of you for following me through this crazy things called life, to all free services available nowdays on the internet and for the effort that I’ve put on it, now I don’t have to pay anything to have this project running except the domain .io.

This redesign which had started as a proof of concept is now live, what makes me really proud about the challenge that I’ve accepted a year ago.

This project will be with the WIP status for a long time, however, the major features are already in place and I encourage you to fork this repo. Follow us on https://cercal.io/, help us to maintain this project by supporting it. You can also give us a star or fork the project, this way we gain relevance in the community.

Screenshots

Well, nothing better than a picture showing how the blog is rendered today, right?

Homepage

Setup

Let’s move on and take a look what are the steps you have to do in order to have the project running locally on your development environment.

Compiling the blog

The following script will build the blog according to the existing files on the repository, then it will give you the control and so, you have access to the bash, there you should be able to run either grunt (this is the development compilation mode) or grunt production which compiles the blog performing micro-optimizations to our target, production.

For the majority of things you have to do, the development compilation mode should be more than enough. If you are curious about the steps that are executed for each compilation mode, please take a look on the Gruntfile.js file. Otherwise, if you would like to take a look into our pipeline and check the compilation process for production, then take a look into the .travis.yml file and into the TravisCI.org:jpcercal/cercal.io pipeline.

$ ./bin/bash.sh

# grunt

Running the Webserver

The following script will add a line if it doesn’t exists in your /etc/hosts file containing the domain cercal.local pointing to 127.0.0.1. After all, it will run a docker container that will start a http web server.

You have to leave this command being executed, otherwise the http server is terminated and you cannot access the http service.

./bin/http-server.sh

If everything went okay, it’s time to open your browser to see everything running https://cercal.local.

You can’t perform that action at this time.