Ghost theme for BigchainDB's blog
Deprecated. For all your BigchainDB blogging needs go to blog.bigchaindb.com.
We need Node LTS 6.9.1. On macOS you can install that version with either nvm or Homebrew:
# nvm
nvm install node 6.9.1
# Homebrew
brew tap homebrew/versions
brew install homebrew/versions/node6-lts
brew link node6-lts
Use an existing Ghost installation on your machine or download and copy a fresh version and symlink this repository's dist output into the theme folder:
ln -s dist/bigchaindb-blog ~/Sites/ghost/content/themes/bigchaindb-blog
Then go into your Ghost installation root folder and start up Ghost:
# install dependencies
npm install --production
# let's roll
npm start
Clone the repository and make sure to include submodules too:
git clone --recursive [email protected]:bigchaindb/blog.git
Then install dependencies with:
npm i
The following development server proxies to the local Ghost url which you need to setup in the config section of the gulpfile.js
:
GHOSTURL = 'localhost:2368'
Finally, spin up the local dev server with livereloading via BrowserSync, reachable under https://localhost:1337:
gulp
Puts everything together and puts it into a folder under dist/
and makes a zip-package out of it:
gulp build --production