mirror of
https://gitnet.fr/deblan/gist.git
synced 2021-08-14 08:30:49 +02:00
2
1.2.4 Makefile
Simon Vieille edited this page 2018-10-09 16:32:12 +02:00
A Makefile is provided to automate some tasks.
make
will install dependencies via composer and NPMmake composer
will install PHP dependencies via composermake npm
will install CSS/JS dependencies via NPMmake update
will update the applicationmake clean-cache
will remove the content of the cache directorymake propel
will generate propel migrations (database and files)make run
will run development server on http://127.0.0.1:8080/
By default, composer
, npm
, git
, mkdir
and php
binaries must be in your $PATH
. You can override it by using these envars:
COMPOSER
NPM
GIT
MKDIR
PHP
For example:
$ export COMPOSER=/path/to/composer
$ make composer