aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2019-11-04 00:14:58 +0100
committern-peugnet <n.peugnet@free.fr>2019-11-04 00:14:58 +0100
commit76aee76beedb1415b31ee4688456ce5193e7b3f5 (patch)
tree2272216c5b0792d2dc784cc233bfa5121d316b0a /README.md
parentb17bba314c84f3ee012901476417821c3c34d54a (diff)
downloadwcms-76aee76beedb1415b31ee4688456ce5193e7b3f5.tar.gz
wcms-76aee76beedb1415b31ee4688456ce5193e7b3f5.zip
perf: make optimizations
- run npm and composer only when needed - include .default.env - add watch targets - "make all" builds in dev mode, "make dist" in prod mode
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/README.md b/README.md
index 4cd0a6e..817d86a 100644
--- a/README.md
+++ b/README.md
@@ -65,17 +65,19 @@ If you want to contribute to the project.
1. Clone the git repository.
2. Install PHP dependencies.
- composer install
+ make vendor
3. _Optionnally_ install and build JS dependencies to get UI enhancements.
- npm install && npm run build
+ make build
+
+The last two commands can be run at once using only `make`.
## JS development
While developing the JS sources it is useful to run webpack in watch mode so that the bundles get built at each file change. To do so, use the following command:
- npm run watch
+ make watch
## Publish a new release