-
Notifications
You must be signed in to change notification settings - Fork 1
How to run Jekyll and FTP to server
Kam Dahlquist edited this page Sep 28, 2017
·
1 revision
Followed the instructions on this page to install Jekyll, which involved:
- Installation of chocolatey v0.10.0
- Installation of ruby v2.3.0
- Installation of Jekyll v3.2.1
Working with a local clone of the repository:
- Make changes to the files in the "site" directory using any editor (I use Dreamweaver) and save the changes.
- In the Windows cmd window, navigate to the "site" directory
- type the command
jekyll build
- this generates the static site in the "_static_site" folder
- add, commit, and push changes to the repository as usual
- ftp the contents of the "_static_site" folder to the myweb server
- note that running jekyll and committing to the repository are two separate actions.
Notes:
-
jekyll build
......one-time creation of static files -
jekyll build --watch
.......on-going creation of static files as you edit the dynamic sources -
jekyll serve
......jekyll build --watch
PLUS those static files are accessible to the web browser (a message in the console window will tell you the address for the static server, which can be opened in a browser. - When FTPing to the myweb server, don't forget to include
LMUMAIN\
as part of my username.