Skip to content

zhaoshengloveqingqing/Guoke

Repository files navigation

Clips Web, the prototype project for Clips Tool Web Development

Introduction

This project is the prototype project for Clips Tool.

This project is an ordinary web project based on PHP using framework Clips Tool. You can start coding your own just using Composer's command:

composer create-project guitarpoet/clips-web

The depenency management and autoloading support is done using Composer too.

This project need you to install these PHP plugins:

Required:

Optional:

  • php-mmseg: The Chinese word tokenizer
  • php-imagick: The image processing framework for PHP, if you want to use widget like auto Figure or Picture, this is the recommended plugin
  • php-gd: The image processing framework for PHP
  • php-posix: Needed for getting user or commandline's information(in command execution)
  • php-intl: The i18n plugin for PHP(for getting the locale for command line)

Getting started

  1. You can get the project just using this command (composer must be installed first).

    composer create-project -s dev guitarpoet/clips-web

  2. Run the migration

    make migrate

  3. Get the browser capacities database(this is used by the framework to match the user agent to detail browser information, to let framework and you to do the browser hack on purpose).

    ./vendor/bin/clips get bcap

  4. Fix the folder permission or ownership of folder application/cache. ** Note: This is very important since all the thing that needs cache(css, image, smarty compiled files) ** will be place here, if no write permission for your web application server(apache, for example), the web request will get failed

There you go.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published