I usually rebuild my personal site from scratch each January. This year, I'm a bit early as I wanted to build something really quickly with RailsBricks 3, my open-source Rails app creator that I released last week. This is also to give you an idea of how fast you can build something using RailsBricks. Let's see what the site does.
It's a standard personal site/blog like you find a lot on the web. It has:
- a front page
- a blog
- a contact form
- a search form
- a twitter feed
- a custom responsive UI based on Bootstrap 3
- a subscription form to my newsletter
- Google Analytics
- an admin zone where I can write new posts using the Markdown syntax
- the code is safely stored in a Git repository at Bitbucket
It runs on Heroku with a PostgreSQL database, using the Unicorn web server.
This is how the articles editing section looks like in the admin zone:
So, how long did it take to make this website? Let's have some numbers...
I started from scratch, just an empty directory and timed myself for each section. Here's the breakdown:
- Generating the base app with RailsBricks (
rbricks -n): 1 minute
- Ruby coding (some changes in the default controllers, mostly): 13 minutes
- HTML/CSS coding (changed colors, added few CSS rules like the small tutorial tag): 16 minutes
- Publishing on Heroku (set the env variables, the domain name, ...): 2 mins
That's right, the whole thing was made in 32 minutes! That's less than a lunch break at work. Of course, to these numbers, you can add non coding tasks such as planning or checking the spelling. But yes, the technical part took 32 minutes and I am not a fast nor a good coder.
Your turn, now
If you want to try to do the same, have a look at the RailsBricks intro video and then, build something!
Your feedback is welcome: contact me or send me a tweet.