Last active
February 25, 2016 17:29
-
-
Save leesei/82bd16ec2edfbdbad981 to your computer and use it in GitHub Desktop.
Setup hexo development environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir hexo-dev | |
cd hexo-dev | |
[email protected]:hexojs/hexo.git | |
cd hexo; npm i | |
# can `npm run test` here | |
cd .. | |
git clone [email protected]:leesei/hexo-genstubs.git | |
cd hexo-genstubs; npm i | |
cd .. | |
# vanilla site | |
git clone [email protected]: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