-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite to add multiple accounts / blogs and git commits
* files are configured via _config.yml (see README.md for configuration instructions) * commits are handled via backticked shell calls This is admittedly fragile. Grit would be preferred. * code for handling commits via Grit is included but commented out as it always results in "fatal: corrupt tree file" when you try and do almost anything with the repo after committing to it.
- Loading branch information
Showing
8 changed files
with
389 additions
and
170 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ source "http://rubygems.org" | |
|
||
gem 'mail' | ||
gem 'nokogiri' | ||
|
||
#gem 'grit' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
diff-lcs (1.1.3) | ||
fileutils (0.7) | ||
rmagick (>= 2.13.1) | ||
grit (2.4.1) | ||
diff-lcs (~> 1.1) | ||
mime-types (~> 1.15) | ||
i18n (0.6.0) | ||
mail (2.3.0) | ||
i18n (>= 0.4.0) | ||
mime-types (~> 1.16) | ||
treetop (~> 1.4.8) | ||
mime-types (1.16) | ||
nokogiri (1.5.0) | ||
polyglot (0.3.2) | ||
rmagick (2.13.1) | ||
treetop (1.4.10) | ||
polyglot | ||
polyglot (>= 0.3.1) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
fileutils | ||
grit | ||
nokogiri |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
blogs: | ||
- jekyll_repo: /home/username/workspace/jekyll_test_site | ||
source_dir: /home/username/workspace/jekyll_test_site/source | ||
pop_server: mail.example.com | ||
pop_user: jekyllmail@example.com | ||
pop_password: password_here | ||
secret: jekyllmail | ||
markup: markdown | ||
site_url: http://blog.example.com | ||
commit_after_save: true |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
# CHANGE ME TO MEET THE NEEDS OF YOUR SERVER CONFIGURATION | ||
|
||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | ||
GEM_PATH=$GEM_PATH:/home/my_username/.gems | ||
PATH=$PATH:/home/my_username/.gems/bin | ||
cd /home/my_username/jekyll/ | ||
bundle exec rake generate |
Oops, something went wrong.