asinfotrack/yii2-app-basic 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

asinfotrack/yii2-app-basic

Composer 安装命令:

composer create-project asinfotrack/yii2-app-basic

包简介

Yii 2 Basic Project Template; customized by AS infotrack AG

README 文档

README

REQUIREMENTS

The minimum requirement by this project template that your Web server supports PHP 5.4.0.

INSTALLATION

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this project template using the following command:

php composer.phar global require "fxp/composer-asset-plugin:^1.2.0"
php composer.phar create-project --prefer-dist --stability=dev asinfotrack/yii2-app-basic your-folder-name dev-master

or if you have composer and php on the path-variable

composer global require "fxp/composer-asset-plugin:^1.2.0"
composer create-project --prefer-dist --stability=dev asinfotrack/yii2-app-basic your-folder-name dev-master

Now you should be able to access the application through the following URL, assuming basic is the directory directly under the Web root.

http://localhost/basic/web/

Install NPM, its modules and create first grunt-build

Assert npm is properly installed and on your path-variable and execute the following command:

npm install

After all modules are installed, you can create first grunt build:

grunt build

After that you can use the console with only grunt which will start listening for relevant file changes.

Update cookie validation key

Set cookie validation key in config/web.php file to some random secret string:

'request' => [
    'cookieValidationKey' => '<secret random string goes here>',
],

You can then access the application through the following URL:

http://localhost/basic/web/

CONFIGURATION

Database

Edit the file config/db.php and enter db-credentials of local- and production-server.

Users

Add users to config/params.php to enable user control. Later replace this with db users.

App name

Update the app name in config/web.php to the actual app name.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 784
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2017-01-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固