承接 kinetise/alterapi-skeleton 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kinetise/alterapi-skeleton

Composer 安装命令:

composer create-project kinetise/alterapi-skeleton

包简介

Base backend for kinetise apps

README 文档

README

Welcome to Alterapi Skeleton - a base backend source for Kinetise apps.

Requirements:

  • PHP >= 5.4.0
  • SQLite
  • Apache

How to start?

AlterApi Skeleton uses Composer to ease the creation of a new project:

$ composer create-project kinetise/alterapi-skeleton path/to/install -s dev

Composer will create for you a new project under path/to/install

Next you need to setup a Apache Virtual host pointing to path/to/install/web

<VirtualHost *:80>
    ServerName alterapi.skeleton.dev

    ## Vhost docroot
    DocumentRoot "path/to/install/web"

    ## Directories, there should at least be a declaration for path/to/install/web

    <Directory "path/to/install/web">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride All
        Require all granted

        <IfModule mod_rewrite.c>
            Options -MultiViews

            RewriteEngine On
            #RewriteBase /path/to/app
            RewriteCond %{REQUEST_FILENAME} !-f
            RewriteRule ^ index.php [QSA,L]
        </IfModule>

    </Directory>

    ## Logging
    ErrorLog "/var/log/apache2/alterapi.skeleton.error.log"
    ServerSignature Off
    CustomLog "/var/log/apache2/alterapi.skeleton.access.log" combined

    ## Custom fragment
    SetEnv APP_ENV dev
    SetEnv APP_DEBUG true

</VirtualHost>

Base backend collect logs and create some cache files. You need to create a directories for logs and cache files:

$ cd path/to/install
$ mkdir -p var/{cache,logs}

Your apache user must have permissions to write files under "var" directory.

Last step is creating SQLite database:

$ cd path/to/install
$ php app/console orm:schema-tool:create

For more information you can browse tutorial included inside:

http://alterapi.skeleton.dev/tutorial

Enjoy!

统计信息

  • 总下载量: 37
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-09-16