setrun/setrun-app-basic

SETRUN CMS basic application based on php framework Yii2

1.0.0 2017-08-21 13:40 UTC

This package is not auto-updated.

Last update: 2020-11-25 14:19:02 UTC


README

Installing Composer

If you do not already have Composer installed, you may do so by following the instructions at getcomposer.org. On Linux and Mac OS X, you'll run the following commands:

curl -sS https://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer

Installing SETRUN

Go to the previously created folder in which the project will be located

Note: The project directory must be completely empty, it should not contain any files

cd /path/to/site

Create a project without installing dependency files (vendor)

composer create-project --prefer-dist --stability=dev --no-install setrun/setrun-app-basic ./

Edit the file to access the database, it is located at applications/primary/config/db-local.php. Next, perform the installation of dependencies (vendor)

composer install -o

Create a new user

./yii user/user/create 

Add a role for the user

./yii user/rbac/role-assign

Yii2