- Installation
- Gulp tasks
- Thanks
- Install nodejs.
- Install gulp:
npm install -g gulp
- Install bower:
npm install -g bower
- Navigate into your directory.
- Execute
npm install
andbower install
- Execute
git clone https://github.com/TF2Stadium/Ghost-Theme src
- Execute
gulp livereload
and openlocalhost:2368
in your browser.
Comes with three gulp tasks:
gulp default
builds the complete theme and dumps tocontent/themes/dev/
gulp livereload
starts a file watcher, a livereload server, and a ghost instance. If you change any files inside thesrc
folder, they will get updated if you're connected tolocalhost:2368
. Files inside that get moved tocontent/themes/
theme-name
/
, where theme-name is the name of your ghost theme taken fromsrc/package.json
.gulp dist
minifies, concats and compresses the theme inbuild/
theme-name
.zip
.
The project is based on: http://blog.dunkelstern.de/2014/11/02/developing-ghost-templates/
Which has a repository at: https://github.com/dunkelstern/ghost-theme-development/tree/master