Answer the question
In order to leave comments, you need to log in
Building the frontend with a bash script. How?
The frontend turnip is connected as a submodule to the Node.js application turnip. After I do a git pull on the main turnip on VDS, I need to build the front. Wrote a script:
$ git submodule foreach git pull origin master
$ cd frontend
$ npm install
$ bower install --allow-root
$ gulp build
$ cd ..
Answer the question
In order to leave comments, you need to log in
use full paths, not relative ones.
if you add pwd > ~/mydir.txt to the script, you will understand what I'm talking about...
accordingly, you need to replace the cd frontend command with cd /path/to/frontend
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question