Skip to content

Wrap love.hackerzhou.me using Sinatra framework, enable user customization and be compatible with Cloud Foundry.

License

GPL-3.0, MIT licenses found

Licenses found

GPL-3.0
LICENSE-GPL
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

hackerzhou/Love-CloudFoundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Love as a Service

About

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.

Website

http://iloveu.cloudfoundry.com

How to deploy on Cloud Foundry

  1. Clone/Download the project.
  2. 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)
  3. Install ruby and vmc if you don't have them.
  4. 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)

Used Javascript libraries

  1. jQuery 1.8.0
  2. jQuery UI 1.8.24
  3. jQuery Time Picker 1.0.5
  4. FlowerPower
  5. ColorBox 1.3.20.1

Used Ruby Gems

  1. sinatra
  2. activerecord
  3. activerecord-postgresql-adapter
  4. standalone_migrations
  5. rack
  6. json
  7. cf-runtime

TODO

  1. Expose delete page feature to front end.
  2. Management app based on REST service.
  3. Session based counter.
  4. Add CAPTCHA support.

About

Wrap love.hackerzhou.me using Sinatra framework, enable user customization and be compatible with Cloud Foundry.

Resources

License

GPL-3.0, MIT licenses found

Licenses found

GPL-3.0
LICENSE-GPL
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published