Skip to content

gt7466/robbin_site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robbin's website

http://robbinfan.com

This is my personal website project.

System requirements

  • ruby 1.9, recommend 1.9 p327 version
  • MySQL 5.x, you should set utf-8 default encoding with adding line default-storage-engine = innodb to my.cnf
  • memcached
  • nginx as web server, config/nginx.conf is my nginx configuration snippet.

Installing

  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. run rake secret to generate session secret key and fill it in app_config.
  5. create database match your database.yml and start your database.
  6. run rake ar:migrate to setup database schema.
  7. run rake seed to generate admin user.
  8. start memcached with memcached -d.
  9. run thin start for development environment and run ./servicectl start for production environment.

MIT License

About

robbin's website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published