Skip to content

Commit

Permalink
add make commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ZAYEC77 committed Jul 29, 2016
1 parent b1b53ea commit d18e3c8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,24 @@ serve:
yii serve --docroot=@webroot
run:
make serve
fix-permissions:
chmod -R 777 runtime/ web/assets/
db-update:
php yii modules-migrate
db-migrate:
make db-update
db-create:
mysql -u root -p -e 'CREATE SCHEMA $(db-name) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;'
env:
(cp .env.example .env) && (nano .env)
message:
php yii message src/messages/config.php
vendors-update:
composer update
vendors-install:
composer install -o
composer-download:
(curl -sS https://getcomposer.org/installer | php) && (mv composer.phar /usr/local/bin/composer) && (composer global require "fxp/composer-asset-plugin:^1.2.0")
test:
php codecept.phar run
codecept-download:
Expand Down

0 comments on commit d18e3c8

Please sign in to comment.