Thanks very much for your Portable Jekyll work, which I am hoping will make things a lot easier for me.
Just one question.
I have read your wiki and understand that I should change the content of setpath.cmd, replacing "%~dp0" with e.g. "x:\PortableJekyll-master" if that's my current directory, e.g. on a USB stick.
But I don't understand the rest of the last two sentences:
The setpath.cmd use the "%~dp0" to represent your current directory, after running it in command line, the setting is ok. Then you can run jekyll new myblog or jekyll serve anywhere you want.
Does this mean I should
1) change the content as stated
2) run setpath.cmd
3) change the content back to "%~dp0"
and then I can
4) copy the entire directory wherever I want and
5) run jekyll build and jekyll serve in that directory on its new path and everything will work fine?
Or does it mean only that I can put the USB stick into any computer running Windows and it will work fine? If so, what if the same USB stick on the other computer has another drive letter?
Apologies for my ignorance here but I found the quotes sentences unclear (after the instruction to change the content, which is very clear!)
Hi madhur,
Thanks very much for your Portable Jekyll work, which I am hoping will make things a lot easier for me.
Just one question.
I have read your wiki and understand that I should change the content of
setpath.cmd
, replacing "%~dp0" with e.g. "x:\PortableJekyll-master" if that's my current directory, e.g. on a USB stick.But I don't understand the rest of the last two sentences:
Does this mean I should
1) change the content as stated 2) run
setpath.cmd
3) change the content back to "%~dp0"and then I can
4) copy the entire directory wherever I want and 5) run
jekyll build
andjekyll serve
in that directory on its new path and everything will work fine?Or does it mean only that I can put the USB stick into any computer running Windows and it will work fine? If so, what if the same USB stick on the other computer has another drive letter?
Apologies for my ignorance here but I found the quotes sentences unclear (after the instruction to change the content, which is very clear!)
Thanks in advance.
johnnn1