-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
43 lines (35 loc) · 1.11 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
install:
app/console doctrine:database:drop --force
app/console doctrine:database:create
app/console doctrine:schema:create
app/console doctrine:phpcr:repository:init
app/console doctrine:phpcr:fixtures:load --no-interaction
app/console doctrine:fixture:load --no-interaction
chmod -R 777 app/database
app/console assets:install --symlink
app/console assetic:dump --env=prod
app/console presta:composer-public --force
app/console presta:composer-public --copy
deploy-configure:
curl -s http://getcomposer.org/installer | php
php composer.phar install
app/console assets:install web
app/console assetic:dump --env=prod
deploy-install:
rm -rf app/cache/*
chmod 777 app/database app/logs app/cache
chmod 777 app/database/*
chmod -R 777 web/uploads
deploy-update: cc install
refresh:
app/console doctrine:phpcr:fixtures:load --no-interaction
app/console doctrine:fixture:load --no-interaction
app/console cache:clear --env=prod
r:
app/console doctrine:phpcr:fixtures:load --no-interaction
cc:
rm -rf app/cache/*
cs:
phpcs --extensions=php -n --standard=PSR2 --report=full src
ai:
app/console assets:install web