guitarpoet/clips-web

There is no license information available for the latest version (dev-master) of this package.

The prototype clips tool web application.

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:Smarty

dev-master 2015-07-10 01:08 UTC

This package is not auto-updated.

Last update: 2024-04-17 05:36:45 UTC


README

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.