git clone [email protected]:\<GIT URL\>
or
git clone https://github.com/sTechLab/mornaaman.com.git
npm install
sudo npm install -g gulp
git pull https://github.com/sTechLab/mornaaman.com.git
gulp
The compiled files are under the dist/ folder.
To preview run a simple server under dist/, e.g.
python -m SimpleHTTPServer
(view at localhost:8000 )
Go into the dist folder and upload updated files to the server, e.g.
scp index.html USER@SERVER:coursewww/mor/htdocs
scp main.js USER@SERVER:coursewww/mor/htdocs
scp -r assets USER@SERVER:coursewww/mor/htdocs