Skip to content

Instantly share code, notes, and snippets.

@leesei
Last active February 25, 2016 17:29
Show Gist options
  • Save leesei/82bd16ec2edfbdbad981 to your computer and use it in GitHub Desktop.
Save leesei/82bd16ec2edfbdbad981 to your computer and use it in GitHub Desktop.
Setup hexo development environment
mkdir hexo-dev
cd hexo-dev
git@github.com:hexojs/hexo.git
cd hexo; npm i
# can `npm run test` here
cd ..
git clone git@github.com:leesei/hexo-genstubs.git
cd hexo-genstubs; npm i
cd ..
# vanilla site
git clone git@github.com:leesei/hexo-vanilla-site
cd hexo-vanilla-site
npm i
npm un hexo
# can also `ln -s ../hexo-genstubs/source .`
cd node_modules
ln -s ../../hexo .
cd ../..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment