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
```
### Auto-Watch Compile the framework on PHP changes!!!
### Install JavaScript Lib:
```
cd /var/www/frames/tts_framework
# Install nodejs, npm, then if gulp-cli not installed yet:
cd /var/www/frames/
git clone https://git.mysnippetsofcode.com/tts/tts_js.git
sudo npm install --global gulp-cli
npm install
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/
git clone https://git.mysnippetsofcode.com/tts/tts_js.git
sudo npm install --global gulp-cli
npm install
cd /var/www/frames/tts_framework
gulp
```

Loading…
Cancel
Save