Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Makefile 762 Bytes
Newer Older
Arnaud Bey's avatar
Arnaud Bey committed
1
install: composer npm permission dbupdate dbpopulate assets cache permission
arnaudbey's avatar
arnaudbey committed
2

Arnaud Bey's avatar
Arnaud Bey committed
3
update: composer npm permission dbupdate assets cache permission
arnaudbey's avatar
arnaudbey committed
4
5

dbpopulate:
Arnaud Bey's avatar
Arnaud Bey committed
6
		php bin/console magicword:fixtures
arnaudbey's avatar
arnaudbey committed
7
8

dbupdate:
arnaudbey's avatar
add app  
arnaudbey committed
9
		php bin/console doctrine:schema:update --force
arnaudbey's avatar
arnaudbey committed
10
11
12
13
14
15
16
17

cache:
	php bin/console cache:clear --env=prod
	php bin/console cache:clear --env=dev

permission:
	setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx var web/upload/profilepic
	setfacl -R -m u:www-data:rwx -m u:`whoami`:rwx var web/upload/profilepic
Arnaud Bey's avatar
Arnaud Bey committed
18
	chmod -R 777 var web/upload/profilepic
arnaudbey's avatar
arnaudbey committed
19
20
21
22
23
24
25
26
27
28
29
30
composer:
	composer install -o

npm:
	npm install -g bower grunt
	npm install

assets:
	bower install --allow-root
	php bin/console bazinga:js-translation:dump
	php bin/console assets:install --env=prod --symlink
	grunt