Hi! Now if I want to modify something in tw5 site
1. Open my wiki file, modify tiddler I want, press save. 
2. to make static html river files I run my .bat file with node.js commands 

tiddlywiki --verbose  --load heeg.html --rendertiddlers [!is[system]] $:
/core/templates/static.tiddler.html static text/plain --rendertiddler 
$:/_sitemap 
static/sitemap.xml text/vnd.tiddlywiki  --rendertiddler $:/theeg.template.css 
 static/static.css text/vnd.tiddlywiki --rendertiddler $:/boot/
Yandex_Metrika_Counter.js    static/Yandex_Metrika_Counter.js text/plain 
--rendertiddler 
$:/_heeg.js   static/heeg.js text/plain  && ^
xcopy images output\static\images /s /e /C /Y /d /i && ^
copy heeg.html output\static\ && ^
copy .htaccess output\static\ && ^
copy favicon.ico output\static\


so, I get static folder with all my project.
3.then I open my ftp (filezilla) and copy all files from static folder to 
root of my site.

I think this way is very long if we use Tiddlywiki as CMS for static blog 
or shop.  It will be better to have two buttons on our wiki page: save wiki 
(we save our wiki local) and publish wiki (we make static river and copy to 
site by ftp using node.js)
i found that node.js can work with ftp https://github.com/mscdex/node-ftp but 
how can I run node.js command local --rendertiddlers from my browser by 
clicking button?

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9001ac4e-4f4c-4366-876f-c55b2af2b5c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to