Skip to content

sunshy360/cubingchina

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cubingchina

The official website of Cubing China http://cubingchina.com.

Installation

Environments

  1. Nginx/Apache
  2. PHP 5.3+
  1. MySQL 5.1+
  2. Yii Framework 1.1.14+
  3. Composer

Steps

  1. Clone this repo to /path/to/cubingchina.
  2. Put framework directory of Yii to /path/to/cubingchina/../framework.
  3. Create four databases, each named cubingchina, cubingchina_dev, wca_0 and wca_1. Then grant privileges on these to cubingchina with empty password.
  4. Import structure.sql and data.sql into cubingchina and cubingchina_dev.
  5. Run /path/to/cubingchina/protected/commands/shell/wca_data_sync.sh.
  6. cd /path/to/cubingchina/protected && composer install.
  7. Set document root of Nginx/Apache to /path/to/cubingchina/public.
  8. Make sure /path/to/cubingchina/public/assets and /path/to/cubingchina/protected/runtime are writable.
  9. If you need to switch to dev mode, set ENV of php to dev.
  10. Enjoy.

About

The official website of Cubing China http://cubingchina.com.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 50.3%
  • PHP 38.0%
  • CSS 11.3%
  • Other 0.4%