Re: [tw5] Re: TiddlyWiki node command line issue importing and/or rendering for offline

2019-08-14 Thread Jeremy Ruston
Hi Cade

I’m glad you got it sorted. The trick is to use "tiddlywiki ./DataDictionary 
--verbose --init server” to initialise the wiki folder, which automatically 
includes the required plugins in tiddlywiki.info 

Best wishes

Jeremy

> On 12 Aug 2019, at 18:44, Cade Roux  wrote:
> 
> For the benefit of anyone coming behind me, I think the issue was that the 
> --init initialization of the TiddlyWiki did not have the plugins in the 
> tiddlywiki.info  file:
> 
> "tiddlywiki/tiddlyweb", "tiddlywiki/filesystem"
> 
> This seems to help several things in generation now.
> 
> Thanks,
> 
> Cade
> 
> On Saturday, August 10, 2019 at 3:19:53 PM UTC-5, Cade Roux wrote:
> I am importing a JSON array of 10 Tiddlers with title and text properties 
> only.
> 
> After running the command below, I have a tiddlywiki.info 
>  file in the folder, an output folder with an empty 
> index.html file and no sign of the tiddlers.
> 
> This is what the JSON file looks like:
> 
> [
> {
> "title" : "SCHEMA Config"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "SCHEMA DataMart"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "SCHEMA db_securityadmin"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "SCHEMA dbo"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "SCHEMA Doc"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "SCHEMA ETL"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "SCHEMA Logging"
> ,"text" : "Module: LOG\nDescription: Logging schema"
> }
> ,{
> "title" : "AscendDataMart SCHEMA Modeling"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "AscendDataMart SCHEMA Notify"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "AscendDataMart SCHEMA TEST"
> ,"text" : "Module:\nDescription:"
> }
> ]
> 
> 
> >tiddlywiki ./DataDictionary --verbose --init empty
> 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: init empty
> Copied edition 'empty' to ./DataDictionary
> 
> >tiddlywiki ./DataDictionary --verbose --import tiddlers.json application/json
> 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: import tiddlers.json application/json
> 10 tiddler(s) imported
> 
> >tiddlywiki ./DataDictionary --verbose --rendertiddler 
> >$:/plugins/tiddlywiki/tiddlyweb/save/offline index.html text/plain
> 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: rendertiddler $:/plugins/tiddlywiki/tiddlyweb/save/offline 
> index.html text/plain
> 
> 
> -- 
> 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 tiddlywiki+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/23d2edb2-8c5f-486b-8539-b7b6c120f2dd%40googlegroups.com
>  
> .

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/B2AF24CD-7839-4B96-97A0-EA5336B026B1%40gmail.com.


[tw5] Re: TiddlyWiki node command line issue importing and/or rendering for offline

2019-08-12 Thread Cade Roux
For the benefit of anyone coming behind me, I think the issue was that the 
--init initialization of the TiddlyWiki did not have the plugins in the 
tiddlywiki.info file:

"tiddlywiki/tiddlyweb", "tiddlywiki/filesystem"

This seems to help several things in generation now.

Thanks,

Cade

On Saturday, August 10, 2019 at 3:19:53 PM UTC-5, Cade Roux wrote:
>
> I am importing a JSON array of 10 Tiddlers with title and text properties 
> only.
>
> After running the command below, I have a tiddlywiki.info file in the 
> folder, an output folder with an empty index.html file and no sign of the 
> tiddlers.
>
> This is what the JSON file looks like:
>
> [
> {
> "title" : "SCHEMA Config"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "SCHEMA DataMart"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "SCHEMA db_securityadmin"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "SCHEMA dbo"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "SCHEMA Doc"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "SCHEMA ETL"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "SCHEMA Logging"
> ,"text" : "Module: LOG\nDescription: Logging schema"
> }
> ,{
> "title" : "AscendDataMart SCHEMA Modeling"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "AscendDataMart SCHEMA Notify"
> ,"text" : "Module:\nDescription:"
> }
> ,{
> "title" : "AscendDataMart SCHEMA TEST"
> ,"text" : "Module:\nDescription:"
> }
> ]
>
>
> >tiddlywiki ./DataDictionary --verbose --init empty
> 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: init empty
> Copied edition 'empty' to ./DataDictionary
>
> >tiddlywiki ./DataDictionary --verbose --import tiddlers.json 
> application/json
> 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: import tiddlers.json application/json
> 10 tiddler(s) imported
>
> >tiddlywiki ./DataDictionary --verbose --rendertiddler 
> $:/plugins/tiddlywiki/tiddlyweb/save/offline index.html text/plain
> 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: rendertiddler 
> $:/plugins/tiddlywiki/tiddlyweb/save/offline index.html text/plain
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/23d2edb2-8c5f-486b-8539-b7b6c120f2dd%40googlegroups.com.