gulp node_modules just work if installed by tts_js for php compiler.

main
Robert 3 years ago
parent 9e23d1a078
commit 18d03e6f40
  1. 15
      README

@ -31,21 +31,20 @@ cd /var/www/frames/tts_framework/src
php compiler.php php compiler.php
``` ```
### Auto-Watch Compile the framework on PHP changes!!! ### Install JavaScript Lib:
``` ```
cd /var/www/frames/tts_framework cd /var/www/frames/
# Install nodejs, npm, then if gulp-cli not installed yet: git clone https://git.mysnippetsofcode.com/tts/tts_js.git
sudo npm install --global gulp-cli sudo npm install --global gulp-cli
npm install npm install
gulp gulp
``` ```
### Install JavaScript Lib: ### Auto-Watch Compile the framework on PHP changes!!!
## Note gulp will use a symbolic link to /var/www/frames/tts_js/node_modules
## So, gulp should just work if installed in the above steps.
``` ```
cd /var/www/frames/ cd /var/www/frames/tts_framework
git clone https://git.mysnippetsofcode.com/tts/tts_js.git
sudo npm install --global gulp-cli
npm install
gulp gulp
``` ```

Loading…
Cancel
Save