/Ghost-Environment

Primary LanguageJavaScriptOtherNOASSERTION

TF2Stadium ghost theme developer enviroment

  • Installation
  • Gulp tasks
  • Thanks

Installation

  1. Install nodejs.
  2. Install gulp: npm install -g gulp
  3. Install bower: npm install -g bower
  4. Navigate into your directory.
  5. Execute npm install and bower install
  6. Execute git clone https://github.com/TF2Stadium/Ghost-Theme src
  7. Execute gulp livereload and open localhost:2368 in your browser.

Gulp tasks

Comes with three gulp tasks:

  • gulp default builds the complete theme and dumps to content/themes/dev/
  • gulp livereload starts a file watcher, a livereload server, and a ghost instance. If you change any files inside the src folder, they will get updated if you're connected to localhost:2368. Files inside that get moved to content/themes/theme-name/, where theme-name is the name of your ghost theme taken from src/package.json.
  • gulp dist minifies, concats and compresses the theme in build/theme-name.zip.

Thanks

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