Giter Site home page Giter Site logo

jin3pang / love-cloudfoundry Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hackerzhou/love-cloudfoundry

0.0 0.0 0.0 276 KB

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

License: GNU General Public License v3.0

Ruby 32.40% CSS 13.25% JavaScript 31.42% HTML 22.93%

love-cloudfoundry's Introduction

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.

love-cloudfoundry's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.