How to 'cook' TiddlyWiki Classic?

60 views
Skip to first unread message

Rain Skylark

unread,
Jun 1, 2017, 6:12:03 PM6/1/17
to TiddlyWikiDev
Current builder ( https://github.com/TiddlyWiki/tiddlywiki.com ) can cook only TW5 version.

I am looking for instructions for linux :)

Thanx!

Jeremy Ruston

unread,
Jun 1, 2017, 6:30:44 PM6/1/17
to tiddly...@googlegroups.com
Current builder ( https://github.com/TiddlyWiki/tiddlywiki.com ) can cook only TW5 version.

I am looking for instructions for linux :)

The instructions you reference are for building TiddlyWiki Classic. The confusion is that TiddlyWiki 5 is used as the engine that assembles the parts of TiddlyWiki Classic. So, in order to build TiddlyWiki Classic you need to install TiddlyWiki 5 and follow the instructions above.

Best wishes

Jeremy


Thanx!

--
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/00b226c5-1cab-4358-af0f-24cc2536a77e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rain Skylark

unread,
Jun 2, 2017, 2:50:06 AM6/2/17
to tiddly...@googlegroups.com
My directory structure:

cd /srv/archives/WORKPLACE.Projects/TiddlyWikiBuilder/
git clone https://github.com/TiddlyWiki/tiddlywiki.com.git Builder
git clone https://github.com/TiddlyWiki/tiddlywiki.git TWClassic
git clone https://github.com/Jermolene/TiddlyWiki5.git TW5
git clone https://github.com/TiddlyWiki/tiddlywiki.github.com.git TWClassicSite

as a result I have 4 folders:
./Builder
./TWClassic
./TW5
./TWClassicSite

Environment variables (in bld.sh) are:
if [ -z "$TIDDLYWIKI_RELEASE" ]; then
   
export TIDDLYWIKI_RELEASE=$1
fi

if [  -z "$TIDDLYWIKI_RELEASE" ]; then
   
export TIDDLYWIKI_RELEASE=2.7.0
fi

if [ -z "$TIDDLYWIKI_PULLED" ]; then
   
export TIDDLYWIKI_PULLED=$PWD/pulled
fi

if [ -z "$TIDDLYWIKI_DEST" ]; then
   
export TIDDLYWIKI_DEST=$PWD/cooked/$TIDDLYWIKI_RELEASE
fi

if [ -z "$TIDDLYWIKI_TEST" ]; then
   
export TIDDLYWIKI_TEST=$PWD/test/index.html
fi

if [  -z "$TIDDLYWIKI5_DIR" ]; then
   
export TIDDLYWIKI5_DIR=../TW5
fi

if [  -z "$TW5_BUILD_OUTPUT" ]; then
   
export TW5_BUILD_OUTPUT=$PWD/cooked5/
fi


Running bld.sh result :
(curl downloading skipped)
Boot log:
 
Startup task: load-modules
 
Startup task: info after: load-modules before: startup
 
Startup task: startup after: load-modules
 
Startup task: story after: startup
 
Startup task: commands platforms: node after: story
Executing command: load ./index.html.recipe
Executing command: savetiddler $:/core/templates/tiddlywiki2.template.html /srv/archives/WORKPLACE.Projects/TiddlyWikiBuilder/Builder/cooked/2.7.0/index.html text/plain
Error: Missing tiddler: $:/core/templates/tiddlywiki2.template.html
Boot log:
 
Startup task: load-modules
 
Startup task: info after: load-modules before: startup
 
Startup task: startup after: load-modules
 
Startup task: story after: startup
 
Startup task: commands platforms: node after: story
Executing command: load ../tiddlywiki/test/recipes/tests.html.recipe
fs
.js:987
 
return binding.stat(pathModule._makeLong(path));
                 
^

Error: ENOENT: no such file or directory, stat '../tiddlywiki/test/recipes/tests.html.recipe'
    at
Error (native)
    at
Object.fs.statSync (fs.js:987:18)
    at
Command.execute ($:/core/modules/commands/load.js:34:13)
    at
Commander.executeNextCommand ($:/core/modules/commander.js:115:14)
    at
Commander.executeNextCommand ($:/core/modules/commander.js:104:12)
    at
Commander.execute ($:/core/modules/commander.js:64:7)
    at
Object.exports.startup ($:/core/modules/startup/commands.js:34:12)
    at $tw
.boot.executeNextStartupTask (/srv/archives/WORKPLACE.Projects/TiddlyWikiBuilder/TW5/boot/boot.js:2069:10)
    at $tw
.boot.executeNextStartupTask (/srv/archives/WORKPLACE.Projects/TiddlyWikiBuilder/TW5/boot/boot.js:2067:21)
    at $tw
.boot.executeNextStartupTask (/srv/archives/WORKPLACE.Projects/TiddlyWikiBuilder/TW5/boot/boot.js:2067:21)


What's the hell? :(

пятница, 2 июня 2017 г., 1:30:44 UTC+3 пользователь Jeremy Ruston написал:
Reply all
Reply to author
Forward
0 new messages