Skip to content
Browse files
added an upload task and some readme info
git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
dejanb committed Jul 21, 2009
1 parent 22af6f7 commit a1325771d12dbcb89472c04f9d84a08a82469290
Showing 2 changed files with 27 additions and 1 deletion.
@@ -7,4 +7,25 @@ description:

For configuration purposes, use the config.yaml file.
note: This file can be deleted!
Generating the site:

open out/index.html

Auto mode:

rake auto

will run webgen in auto mode where it will auto-detect changes in the source files and
regenerate the site automatically for you.

Cleaning up:

rake clobber

Uploading the site:

rake upload

Note: you should be sure that you have SSH_USER environment variable set.
@@ -40,3 +40,8 @@ task :auto_webgen do
sleep 2

desc "Deploy the site"
task :upload do
sh %{webgen; scp -r out/* #{ENV['SSH_USER']}}

0 comments on commit a132577

Please sign in to comment.