Last year I wrote a webpage love.hackerzhou.me and received 20,000+ PV in 2 weeks. It was amazing and some programmers forked my github project Love to do secondary development. So this year I decide to wrap it with Sinatra framework and put it on VMware's Cloud Foundry PaaS. Now users can create their own pages by several clicks. Please write romantic code for your loves using this application.
http://iloveu.cloudfoundry.com
- Clone/Download the project.
- Modify
db/migrate/0_initialize.rb
file, replace#ADMIN_USERNAME#
and#ADMIN_PASSWORD#
with whatever you like. (Note that the password is encrypted by SHA1) - Install ruby and vmc if you don't have them.
- Execute following command to push this application to Cloud Foundry:
vmc target api.cloudfoundry.com
vmc login
vmc push
(Note that you need to create a mysql database)
- sinatra
- activerecord
- activerecord-postgresql-adapter
- standalone_migrations
- rack
- json
- cf-runtime
- Expose delete page feature to front end.
- Management app based on REST service.
- Session based counter.
- Add CAPTCHA support.