This is the repo for the website:
- uses grunt-bake plugin, to concatenate all those boring html files
- uses git-ftp to deploy using FTP from the console
- uses grt-youtube-popup GRT Youtube Popup - jQuery Plugin
-
just launch
grunt watch(or just rungrunt bakefor single operation only) -
and then edit the html files inside the
/appfolder and they will be concataned automatically to the root folder -
NEVER EDIT the html files on the root folder as they will be overwritten by the
grunt watch -
to add new html files just configure and add them to the file
Gruntfile.js -
I have created a npm script on
package.jsonthat should be executed like thisnpm run git -- 'message here'this will do a git push and git ftp push
-
git config git-ftp.url "ftp://ftp.example.net:21/public_html"git config git-ftp.user "ftp-user"git config git-ftp.password "secr3t" -
git ftp catchup -
echo "new content" >> index.txtgit commit index.txt -m "Add new content"git ftp push