taobig/yii2-app-basic-improve

This package is abandoned and no longer maintained. No replacement package was suggested.

A Project Based on Yii 2 Basic Project Template

v0.7.2 2022-02-13 10:04 UTC

README

Yii 2 Basic Project Template

Based on Yii 2 Basic Project Templatehttps://github.com/yiisoft/yii2-app-basic).

Yii 2 Basic Project Template is a skeleton Yii 2 application best for rapidly creating small projects.

The template contains the basic features including user login/logout and a contact page. It includes all commonly used configurations that would allow you to focus on adding new features to your application.

Latest Stable Version Total Downloads Latest Unstable Version License Build Status

INSTALLATION

Install via Composer
If you do not have Composer, you may install it refer to getcomposer.org.

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

composer create-project --prefer-dist taobig/yii2-app-basic-improve

# install project from master branch
composer create-project taobig/yii2-app-basic-improve your_project_dir_name dev-master

then

cd yii2-app-basic-improve;  
docker-compose -f docker-compose.yml -f docker-compose-dev.yml up --build -d;  
composer install;  

to start a docker container.
The homepage is on http://localhost:8001

Database

  1. CREATE DATABASE `DATABASE_NAME` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
  2. modify config/db.php
  3. run yii migrate in project root dir to init tables.

dev

npm i gulp-cli -g
gulp watch

pre-deploy

  1. build static resources

gulp