ChuntaoLu / chuntaolu.com

code that powers my website http://chuntaolu.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This website is a Ruby on Rails application built for blogging and creating static pages.

Some features:

  • Database-stored static pages, easy to manage without modifying source code
  • Simple admin interface for managing resources.
  • Markdown support with redcarpet for blog and static page contents
  • Code syntax highlighting with Pygments.rb
  • CSS customization and responsiveness based on Twitter Bootstrap
  • Font Awesome icon integration
  • Light weight and secure authentication with Sorcery
  • Meaningful URLs with Friendly Id
  • External comment system with Disqus

To play around:

create a application.yml file under /config with email and password

EMAIL: 'some_email'
PASSWORD: 'some_password'

Then run

rake db:migrate
rake db:seed # create a user with given email and password

Visit http://localhost:3000/login and login to see admin interface

To add some samples, run

rake db:populate

Building such a web app is certainly fun, but sometimes things can go wrong and it becomes frustrating. Overall, I enjoyed a lot working on this project. And I have much appreciation for the excellent tutorials by the awesome people at JumpstartLab, the invaluble RailsCasts, and ultimately stackoverflow.

About

code that powers my website http://chuntaolu.com


Languages

Language:Ruby 85.3%Language:CSS 9.2%Language:JavaScript 5.2%Language:CoffeeScript 0.3%