Skip to content

Latest commit

 

History

History
executable file
·
49 lines (31 loc) · 1014 Bytes

README.md

File metadata and controls

executable file
·
49 lines (31 loc) · 1014 Bytes

Weison Application

This is a Yii2 Application.

This application has a rest api sub Application,you can find in Api folder.

REQUIREMENTS

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

INSTALLATION

1, Use git clone command in your command line to clone this application to you directory:

git clone git@github.com:weison-tech/weison.git

2, Cd in your applaction root dir and run the composer update command:

cd weison && sudo composer update

3, Init you application:

php init

4, Update common/config/main.php file to adapt to you database.

5, Update database schema for your user module

$ php yii migrate/up --migrationPath=@vendor/weison-tech/yii2-user/migrations

other config for user module please see at https://github.com/weison-tech/yii2-user/blob/master/docs/getting-started.md

6, Update database schema for your application

php yii migrate