Giter Club home page Giter Club logo

padrino-cms's Introduction

A cms or blogger powered by padrino & grape

Demo: http://onecoin.im

This is a website project powered by Ember.js(ember-cli) and Padrino(Grape).It provides many nice tools to track the <onecoin.eu>'s info, and to help members to make better decisions.

这是一个用Ember.js作为前端框架,Padrino作为后台Api驱动的Web应用。该网站提供了很多好工具用于跟踪维卡比官网最新通告信息,帮助会员作出更好投资决定。

System requirements

  • ruby 2.1.5

  • MySQL 5.x, you should set utf-8 default encoding utf-8 at my.cnf, like this:

      [client]   # on 5.0 or 5.1
      default-character-set=utf8
      [mysqld]
      default-character-set=utf8 
    
      [mysqld]   # on 5.6
      collation-server = utf8_unicode_ci
      character-set-server = utf8
    
  • memcached

  • nginx as web server, config/nginx.conf is my nginx configuration snippet.

Install

  1. run bundle install
  2. copy config/app_config.example.yml to config/app_config.yml and copy config/database.example.yml to config/database.yml
  3. modify database config for your need.
  4. create database match your database.yml and start your database.
  5. run bundle exec rake secret to generate session secret key and fill it in app_config.
  6. run bundle exec rake ar:migrate to setup database schema.
  7. run bundle exec rake db:seed to generate admin user.
  8. start memcached with memcached -d.
  9. run bundle exec thin start for development environment and run ./zbatery.sh start for production environment.

Run on Windows

remove such lines in Gemfile and run with thin.

gem 'kgio'
gem 'zbatery'

Thanks

  1. ember.js: http://emberjs.com/
  2. ember-cli: https://github.com/ember-cli/ember-cli
  3. padrino: http://www.padrinorb.com/
  4. grape: http://intridea.github.io/grape
  5. robbin: https://github.com/robbin/robbin_site

License

The MIT License (MIT)

padrino-cms's People

Contributors

robbin avatar

Watchers

 avatar  avatar

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.