GithubHelp home page GithubHelp logo

cs0x7f / cubingchina Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cubingchina/cubingchina

1.0 3.0 0.0 7.41 MB

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

License: GNU General Public License v2.0

cubingchina's Introduction

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.

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.