Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-21 Thread Arlen Beiler
What is the terminal (command line) output? If you can copy in the full
logs (minus the names if it matters) that would be great. Also, is the
checkmark red or grey? And can you verify that your wiki is at least 5.1.15?

On Thu, May 21, 2020 at 10:24 PM Morgaine O'Herne 
wrote:

> Yes, and that's exactly what it isn't doing. When I refresh the page, the
> changes are gone. It is not saving.
>
> On Thu, May 21, 2020, 5:43 AM Arlen Beiler  wrote:
>
>> I'm sorry, I'm not completely following. If you open an empty single file
>> wiki, clicking the check mark will download a copy of the wiki at that
>> moment. but autosave is turned on by default so it should already be saving
>> the file back to its original location.
>>
>> On Wed, May 20, 2020, 23:28 Morgaine O'Herne 
>> wrote:
>>
>>> Arlen and Matt, thank you for the time and labor you've put into this.
>>> When I go to the link in my browser there is an empty wiki, but when I
>>> edit it and save it, it downloads a saved copy to my Downloads folder, but
>>> does not save the original.
>>> Any help is greatly appreciated.
>>>
>>> Morgaine O'Herne
>>>
>>> On Friday, April 24, 2020 at 2:39:44 PM UTC-6, Arlen Beiler wrote:

 Hello Everyone,

 I've upgraded TiddlyServer to target 5.1.22.

 @someguynamedmatt helped rearrange the build process, resulting in a
 clean production build. So, I've now published TiddlyServer to npm and you
 can install it by running

  npm install -g tiddlyserver

 This will install it globally, which also puts it in your PATH, so you
 can run it directly using

  tiddlyserver --config /path/to/settings.json

 Windows should also work just fine. You can use the tilde (~) if your
 shell supports it. I forgot to include tilde support for the config
 parameter (if the shell passes it through). I'll add that in the future.

 If you don't have npm installed or you want to do a portable install,
 you'll find the archives listed at
 https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I
 downloaded the tgz files from npm, and the zip files are the same archive
 converted to a zip file.

 I've separated out the tiddlywiki bundle into a separate npm package.
 If you're familiar with that it's still the same idea. I will add more info
 to the readme, but for now it's ready to use. It also includes the
 client-side .js files for adding in an html page, which probably nobody
 uses yet. I'm still working on the use cases and so forth for that, so
 that's just a little teaser.

 https://www.npmjs.com/package/tiddlywiki-production

 As always, remember to create backups before upgrading.

 Enjoy,
 Arlen

>>> --
>>> 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/50e75052-985f-44a8-a5a6-a638b1fef40f%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/tiddlywiki/mF_3uxbth0g/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> tiddlywiki+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSR1m%3DXfqCv_MX%2BHXPUTPs8xsEPeWmRbNr7MMqqn3Z-Hkg%40mail.gmail.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/CABVjSOF3SLf2tKsqnTHQQNC3_BUqWPSJBBBTdYAgR-nkp-oLgg%40mail.gmail.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/CAJ1vdSThXxfp7d7wfRJCCCMy3oWMSSrSHySwnvoC1xkcKqOhzA%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-21 Thread Morgaine O'Herne
Yes, and that's exactly what it isn't doing. When I refresh the page, the
changes are gone. It is not saving.

On Thu, May 21, 2020, 5:43 AM Arlen Beiler  wrote:

> I'm sorry, I'm not completely following. If you open an empty single file
> wiki, clicking the check mark will download a copy of the wiki at that
> moment. but autosave is turned on by default so it should already be saving
> the file back to its original location.
>
> On Wed, May 20, 2020, 23:28 Morgaine O'Herne 
> wrote:
>
>> Arlen and Matt, thank you for the time and labor you've put into this.
>> When I go to the link in my browser there is an empty wiki, but when I
>> edit it and save it, it downloads a saved copy to my Downloads folder, but
>> does not save the original.
>> Any help is greatly appreciated.
>>
>> Morgaine O'Herne
>>
>> On Friday, April 24, 2020 at 2:39:44 PM UTC-6, Arlen Beiler wrote:
>>>
>>> Hello Everyone,
>>>
>>> I've upgraded TiddlyServer to target 5.1.22.
>>>
>>> @someguynamedmatt helped rearrange the build process, resulting in a
>>> clean production build. So, I've now published TiddlyServer to npm and you
>>> can install it by running
>>>
>>>  npm install -g tiddlyserver
>>>
>>> This will install it globally, which also puts it in your PATH, so you
>>> can run it directly using
>>>
>>>  tiddlyserver --config /path/to/settings.json
>>>
>>> Windows should also work just fine. You can use the tilde (~) if your
>>> shell supports it. I forgot to include tilde support for the config
>>> parameter (if the shell passes it through). I'll add that in the future.
>>>
>>> If you don't have npm installed or you want to do a portable install,
>>> you'll find the archives listed at
>>> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I
>>> downloaded the tgz files from npm, and the zip files are the same archive
>>> converted to a zip file.
>>>
>>> I've separated out the tiddlywiki bundle into a separate npm package. If
>>> you're familiar with that it's still the same idea. I will add more info to
>>> the readme, but for now it's ready to use. It also includes the client-side
>>> .js files for adding in an html page, which probably nobody uses yet. I'm
>>> still working on the use cases and so forth for that, so that's just a
>>> little teaser.
>>>
>>> https://www.npmjs.com/package/tiddlywiki-production
>>>
>>> As always, remember to create backups before upgrading.
>>>
>>> Enjoy,
>>> Arlen
>>>
>> --
>> 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/50e75052-985f-44a8-a5a6-a638b1fef40f%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/mF_3uxbth0g/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdSR1m%3DXfqCv_MX%2BHXPUTPs8xsEPeWmRbNr7MMqqn3Z-Hkg%40mail.gmail.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/CABVjSOF3SLf2tKsqnTHQQNC3_BUqWPSJBBBTdYAgR-nkp-oLgg%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-21 Thread Arlen Beiler
I'm sorry, I'm not completely following. If you open an empty single file
wiki, clicking the check mark will download a copy of the wiki at that
moment. but autosave is turned on by default so it should already be saving
the file back to its original location.

On Wed, May 20, 2020, 23:28 Morgaine O'Herne 
wrote:

> Arlen and Matt, thank you for the time and labor you've put into this.
> When I go to the link in my browser there is an empty wiki, but when I
> edit it and save it, it downloads a saved copy to my Downloads folder, but
> does not save the original.
> Any help is greatly appreciated.
>
> Morgaine O'Herne
>
> On Friday, April 24, 2020 at 2:39:44 PM UTC-6, Arlen Beiler wrote:
>>
>> Hello Everyone,
>>
>> I've upgraded TiddlyServer to target 5.1.22.
>>
>> @someguynamedmatt helped rearrange the build process, resulting in a
>> clean production build. So, I've now published TiddlyServer to npm and you
>> can install it by running
>>
>>  npm install -g tiddlyserver
>>
>> This will install it globally, which also puts it in your PATH, so you
>> can run it directly using
>>
>>  tiddlyserver --config /path/to/settings.json
>>
>> Windows should also work just fine. You can use the tilde (~) if your
>> shell supports it. I forgot to include tilde support for the config
>> parameter (if the shell passes it through). I'll add that in the future.
>>
>> If you don't have npm installed or you want to do a portable install,
>> you'll find the archives listed at
>> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I
>> downloaded the tgz files from npm, and the zip files are the same archive
>> converted to a zip file.
>>
>> I've separated out the tiddlywiki bundle into a separate npm package. If
>> you're familiar with that it's still the same idea. I will add more info to
>> the readme, but for now it's ready to use. It also includes the client-side
>> .js files for adding in an html page, which probably nobody uses yet. I'm
>> still working on the use cases and so forth for that, so that's just a
>> little teaser.
>>
>> https://www.npmjs.com/package/tiddlywiki-production
>>
>> As always, remember to create backups before upgrading.
>>
>> Enjoy,
>> Arlen
>>
> --
> 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/50e75052-985f-44a8-a5a6-a638b1fef40f%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/CAJ1vdSR1m%3DXfqCv_MX%2BHXPUTPs8xsEPeWmRbNr7MMqqn3Z-Hkg%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread Arlen Beiler
I see. It should work the same with or without TiddlyServer, so it would be
better to start a new thread for this because I'm not really as familiar
with this part of it.

On Fri, May 1, 2020 at 5:47 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> When I try to access the JSON file, the terminal shows this:
>
> [2020-05-01T14:44:59.021-0700] GET - 127.0.0.1
> /library/recipes/library/tiddlers/%2524%253A%252Fplugins%252FMAS%252FTEST.json
> - ms - -
>
> repeatedly (I guess every 2 or 3 minutes). But the browser page is stuck
> in loading mode, nothing displayed.
>
> --
> 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/ab4869ef-4b80-4f1e-97f2-66ea3d939ff3%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/CAJ1vdSR7GN9OQwgHHDgHz_hSnriVkESUuY1K%3DuyMhbPtHTqkWA%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread 'Mark S.' via TiddlyWiki
When I try to access the JSON file, the terminal shows this:

[2020-05-01T14:44:59.021-0700] GET - 127.0.0.1 
/library/recipes/library/tiddlers/%2524%253A%252Fplugins%252FMAS%252FTEST.json 
- ms - -

repeatedly (I guess every 2 or 3 minutes). But the browser page is stuck in 
loading mode, nothing displayed.

-- 
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/ab4869ef-4b80-4f1e-97f2-66ea3d939ff3%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread Arlen Beiler
What is the request log in the terminal? Can you paste the request lines in
here?

On Fri, May 1, 2020 at 3:07 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> More testing. I added "json" as mimetype. Not sure if that was necessary.
>
> But, when I navigate with TS down the directory, I find that it can't load:
>
> %24%3A%2Fplugins%2FMAS%2FTEST.json
>
> So, maybe TS doesn't like these special characters?
>
> When I changed the name to TEST.json, then even though I can browse the
> file with either TS or http-server, I couldn't load it as a library with
> either server. So apparently the url-encoded name structure is important
> for some reason.
>
> Is there any reason that TS wouldn't be able to load files with
> url-encoded names?
>
> Thanks!
>
> On Friday, May 1, 2020 at 11:45:20 AM UTC-7, Mark S. wrote:
>>
>> I'm trying to serve up a plugin *library*. A library is an index.html
>> file with specified directories below it, and some tid files in those
>> directories. Data folders do not have to be involved at all. Just the
>> static server part of TS.
>>
>> I can accomplish this already by running http-server on node, but that
>> means I have to have two servers running (TS and http-server). It would be
>> convenient if I could just run TS. I set a virtual "library" in
>> settings.json that points to the directory containing the index.html file.
>> I put this path into the url field of a tiddler tagged
>> $:/tags/PluginLibrary. Now I can go into the plugins under control panel
>> and click on "Get More Plugins". It opens up and shows my new, personal
>> library. But when I attempt to install a plugin, it fails.
>>
>> Ok, I just ran a test. It appears that TS won't serve up JSON files. So
>> maybe my question is, how do I enable TS to serve JSON files?
>>
>> Thanks!
>>
>> On Friday, May 1, 2020 at 11:26:01 AM UTC-7, Arlen Beiler wrote:
>>>
>>> TiddlyServer will not serve files within data folders, that is the data
>>> folder's job.
>>>
>>> But it doesn't make sense that you would be trying to serve plugin
>>> tiddlers from within a data folder, so I'm not quite sure what you're
>>> asking.
>>>
>>> On Fri, May 1, 2020, 11:57 'Mark S.' via TiddlyWiki <
>>> tiddlywiki@googlegroups.com> wrote:
>>>

 I'm trying to have TS serve up a plugin library.

 Everything seems to work, except TS doesn't actually serve up the
 plugin tiddlers.

 I think the problem is that TS isn't serving up static files from
 sub-directories. Is there a setting that will tell TS to serve up static
 files more than one level deep?

 Thanks!


 --
 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/21a0177e-4165-48a4-b1b4-1db59caba7b9%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/6d9e4ae1-70a7-422b-bc0e-54505f332b66%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/CAJ1vdSRS85m%2Ba0FCVBE5R1SRRt%3DfZGz0wYHxORXQp_COSqwgdg%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread 'Mark S.' via TiddlyWiki
More testing. I added "json" as mimetype. Not sure if that was necessary.

But, when I navigate with TS down the directory, I find that it can't load:

%24%3A%2Fplugins%2FMAS%2FTEST.json

So, maybe TS doesn't like these special characters?

When I changed the name to TEST.json, then even though I can browse the 
file with either TS or http-server, I couldn't load it as a library with 
either server. So apparently the url-encoded name structure is important 
for some reason.

Is there any reason that TS wouldn't be able to load files with url-encoded 
names?

Thanks!

On Friday, May 1, 2020 at 11:45:20 AM UTC-7, Mark S. wrote:
>
> I'm trying to serve up a plugin *library*. A library is an index.html 
> file with specified directories below it, and some tid files in those 
> directories. Data folders do not have to be involved at all. Just the 
> static server part of TS.
>
> I can accomplish this already by running http-server on node, but that 
> means I have to have two servers running (TS and http-server). It would be 
> convenient if I could just run TS. I set a virtual "library" in 
> settings.json that points to the directory containing the index.html file. 
> I put this path into the url field of a tiddler tagged 
> $:/tags/PluginLibrary. Now I can go into the plugins under control panel 
> and click on "Get More Plugins". It opens up and shows my new, personal 
> library. But when I attempt to install a plugin, it fails. 
>
> Ok, I just ran a test. It appears that TS won't serve up JSON files. So 
> maybe my question is, how do I enable TS to serve JSON files?
>
> Thanks!
>
> On Friday, May 1, 2020 at 11:26:01 AM UTC-7, Arlen Beiler wrote:
>>
>> TiddlyServer will not serve files within data folders, that is the data 
>> folder's job. 
>>
>> But it doesn't make sense that you would be trying to serve plugin 
>> tiddlers from within a data folder, so I'm not quite sure what you're 
>> asking. 
>>
>> On Fri, May 1, 2020, 11:57 'Mark S.' via TiddlyWiki <
>> tiddlywiki@googlegroups.com> wrote:
>>
>>>
>>> I'm trying to have TS serve up a plugin library.
>>>
>>> Everything seems to work, except TS doesn't actually serve up the plugin 
>>> tiddlers.
>>>
>>> I think the problem is that TS isn't serving up static files from 
>>> sub-directories. Is there a setting that will tell TS to serve up static 
>>> files more than one level deep?
>>>
>>> Thanks!
>>>
>>>
>>> -- 
>>> 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/21a0177e-4165-48a4-b1b4-1db59caba7b9%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/6d9e4ae1-70a7-422b-bc0e-54505f332b66%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread 'Mark S.' via TiddlyWiki
I'm trying to serve up a plugin *library*. A library is an index.html file 
with specified directories below it, and some tid files in those 
directories. Data folders do not have to be involved at all. Just the 
static server part of TS.

I can accomplish this already by running http-server on node, but that 
means I have to have two servers running (TS and http-server). It would be 
convenient if I could just run TS. I set a virtual "library" in 
settings.json that points to the directory containing the index.html file. 
I put this path into the url field of a tiddler tagged 
$:/tags/PluginLibrary. Now I can go into the plugins under control panel 
and click on "Get More Plugins". It opens up and shows my new, personal 
library. But when I attempt to install a plugin, it fails. 

Ok, I just ran a test. It appears that TS won't serve up JSON files. So 
maybe my question is, how do I enable TS to serve JSON files?

Thanks!

On Friday, May 1, 2020 at 11:26:01 AM UTC-7, Arlen Beiler wrote:
>
> TiddlyServer will not serve files within data folders, that is the data 
> folder's job. 
>
> But it doesn't make sense that you would be trying to serve plugin 
> tiddlers from within a data folder, so I'm not quite sure what you're 
> asking. 
>
> On Fri, May 1, 2020, 11:57 'Mark S.' via TiddlyWiki <
> tiddlywiki@googlegroups.com> wrote:
>
>>
>> I'm trying to have TS serve up a plugin library.
>>
>> Everything seems to work, except TS doesn't actually serve up the plugin 
>> tiddlers.
>>
>> I think the problem is that TS isn't serving up static files from 
>> sub-directories. Is there a setting that will tell TS to serve up static 
>> files more than one level deep?
>>
>> Thanks!
>>
>>
>> -- 
>> 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/21a0177e-4165-48a4-b1b4-1db59caba7b9%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/504054d2-96f5-4e18-9b88-9eeeae963616%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-05-01 Thread Arlen Beiler
TiddlyServer will not serve files within data folders, that is the data
folder's job.

But it doesn't make sense that you would be trying to serve plugin tiddlers
from within a data folder, so I'm not quite sure what you're asking.

On Fri, May 1, 2020, 11:57 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

>
> I'm trying to have TS serve up a plugin library.
>
> Everything seems to work, except TS doesn't actually serve up the plugin
> tiddlers.
>
> I think the problem is that TS isn't serving up static files from
> sub-directories. Is there a setting that will tell TS to serve up static
> files more than one level deep?
>
> Thanks!
>
>
> --
> 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/21a0177e-4165-48a4-b1b4-1db59caba7b9%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/CAJ1vdSSEMF3q%3DeQNBMGK3QfVbz98x9XumeHeoXN81mLLg1VLCA%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-30 Thread 'Mark S.' via TiddlyWiki
Let me try again. I'm asking a bit of a different question.

How do I tell TS where to look for additional plugin libraries? 

Keep in mind that TS can serve up individual TW files. I would like to make 
a library of plugins available to those files, the way they can currently 
load plugins from the official library. Also, if the library was served up 
on the network, than even TW files that were not being served up (local 
file) could access the library. There's a way to specify additional plugin 
paths either for standard node.js on the command line or by using 
environmental variables. But I don't which, if any, approach TS can use.

Thanks!

On Thursday, April 30, 2020 at 4:52:16 PM UTC-7, Arlen Beiler wrote:
>
> Here is my reply in that issue. I also include an example tiddlywiki.info
>
> Like I said, it's not a good idea to use the plugin library with data 
> folders because they won't get upgraded when you upgrade to a newer version 
> of TiddlyWiki. So that's probably why it's not included. 
>
> https://github.com/Arlen22/TiddlyServer/issues/94#issuecomment-622179126
>
> On Thu, Apr 30, 2020 at 7:47 PM Arlen Beiler 
>
>> You're the second person to ask that in the last few days. This must be a 
>> recent change in TiddlyWiki. 
>>
>> Normally you specify the plugins by name in the tiddlywiki.info file so 
>> they get upgraded automatically when you upgrade to a new version of 
>> TiddlyWiki. This is definitely the better way to do it, otherwise you will 
>> end up running into compatibility issues between core and the official 
>> plugins. 
>>
>> In any case, this would be a TiddlyWiki data folder question. It's not 
>> specific to TiddlyServer. 
>>
>> Apparently you can also drag in the plugin library config tiddler. 
>> https://github.com/Arlen22/TiddlyServer/issues/94#issuecomment-622159672
>>
>> On Thu, Apr 30, 2020 at 6:45 PM 'Mark S.' via TiddlyWiki <
>> tiddlywiki@googlegroups.com> wrote:
>>
>>> How do I tell TS where my physical plugin library and/or where do I put 
>>> a collection of plugins?
>>>
>>> Thanks!
>>>
>>> On Friday, April 24, 2020 at 1:39:44 PM UTC-7, Arlen Beiler wrote:

 Hello Everyone,

 I've upgraded TiddlyServer to target 5.1.22. 

 @someguynamedmatt helped rearrange the build process, resulting in a 
 clean production build. So, I've now published TiddlyServer to npm and you 
 can install it by running 

  npm install -g tiddlyserver

 This will install it globally, which also puts it in your PATH, so you 
 can run it directly using 

  tiddlyserver --config /path/to/settings.json

 Windows should also work just fine. You can use the tilde (~) if your 
 shell supports it. I forgot to include tilde support for the config 
 parameter (if the shell passes it through). I'll add that in the future. 

 If you don't have npm installed or you want to do a portable install, 
 you'll find the archives listed at 
 https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I 
 downloaded the tgz files from npm, and the zip files are the same archive 
 converted to a zip file. 

 I've separated out the tiddlywiki bundle into a separate npm package. 
 If you're familiar with that it's still the same idea. I will add more 
 info 
 to the readme, but for now it's ready to use. It also includes the 
 client-side .js files for adding in an html page, which probably nobody 
 uses yet. I'm still working on the use cases and so forth for that, so 
 that's just a little teaser. 

 https://www.npmjs.com/package/tiddlywiki-production

 As always, remember to create backups before upgrading.

 Enjoy, 
 Arlen

>>> -- 
>>> 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/5ec84934-3e6c-454c-802e-4e06abd22b01%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/d13c6a86-87e9-4d85-aa01-01de495b6681%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-30 Thread Arlen Beiler
Here is my reply in that issue. I also include an example tiddlywiki.info

Like I said, it's not a good idea to use the plugin library with data
folders because they won't get upgraded when you upgrade to a newer version
of TiddlyWiki. So that's probably why it's not included.

https://github.com/Arlen22/TiddlyServer/issues/94#issuecomment-622179126

On Thu, Apr 30, 2020 at 7:47 PM Arlen Beiler  wrote:

> You're the second person to ask that in the last few days. This must be a
> recent change in TiddlyWiki.
>
> Normally you specify the plugins by name in the tiddlywiki.info file so
> they get upgraded automatically when you upgrade to a new version of
> TiddlyWiki. This is definitely the better way to do it, otherwise you will
> end up running into compatibility issues between core and the official
> plugins.
>
> In any case, this would be a TiddlyWiki data folder question. It's not
> specific to TiddlyServer.
>
> Apparently you can also drag in the plugin library config tiddler.
> https://github.com/Arlen22/TiddlyServer/issues/94#issuecomment-622159672
>
> On Thu, Apr 30, 2020 at 6:45 PM 'Mark S.' via TiddlyWiki <
> tiddlywiki@googlegroups.com> wrote:
>
>> How do I tell TS where my physical plugin library and/or where do I put a
>> collection of plugins?
>>
>> Thanks!
>>
>> On Friday, April 24, 2020 at 1:39:44 PM UTC-7, Arlen Beiler wrote:
>>>
>>> Hello Everyone,
>>>
>>> I've upgraded TiddlyServer to target 5.1.22.
>>>
>>> @someguynamedmatt helped rearrange the build process, resulting in a
>>> clean production build. So, I've now published TiddlyServer to npm and you
>>> can install it by running
>>>
>>>  npm install -g tiddlyserver
>>>
>>> This will install it globally, which also puts it in your PATH, so you
>>> can run it directly using
>>>
>>>  tiddlyserver --config /path/to/settings.json
>>>
>>> Windows should also work just fine. You can use the tilde (~) if your
>>> shell supports it. I forgot to include tilde support for the config
>>> parameter (if the shell passes it through). I'll add that in the future.
>>>
>>> If you don't have npm installed or you want to do a portable install,
>>> you'll find the archives listed at
>>> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I
>>> downloaded the tgz files from npm, and the zip files are the same archive
>>> converted to a zip file.
>>>
>>> I've separated out the tiddlywiki bundle into a separate npm package. If
>>> you're familiar with that it's still the same idea. I will add more info to
>>> the readme, but for now it's ready to use. It also includes the client-side
>>> .js files for adding in an html page, which probably nobody uses yet. I'm
>>> still working on the use cases and so forth for that, so that's just a
>>> little teaser.
>>>
>>> https://www.npmjs.com/package/tiddlywiki-production
>>>
>>> As always, remember to create backups before upgrading.
>>>
>>> Enjoy,
>>> Arlen
>>>
>> --
>> 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/5ec84934-3e6c-454c-802e-4e06abd22b01%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/CAJ1vdSQKc4R5%3Dwc_%3DEk1C2qEQL3eiErqWLVwwGh%3DSJ%3D%3DVUCO%3Dw%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-30 Thread Arlen Beiler
You're the second person to ask that in the last few days. This must be a
recent change in TiddlyWiki.

Normally you specify the plugins by name in the tiddlywiki.info file so
they get upgraded automatically when you upgrade to a new version of
TiddlyWiki. This is definitely the better way to do it, otherwise you will
end up running into compatibility issues between core and the official
plugins.

In any case, this would be a TiddlyWiki data folder question. It's not
specific to TiddlyServer.

Apparently you can also drag in the plugin library config tiddler.
https://github.com/Arlen22/TiddlyServer/issues/94#issuecomment-622159672

On Thu, Apr 30, 2020 at 6:45 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> How do I tell TS where my physical plugin library and/or where do I put a
> collection of plugins?
>
> Thanks!
>
> On Friday, April 24, 2020 at 1:39:44 PM UTC-7, Arlen Beiler wrote:
>>
>> Hello Everyone,
>>
>> I've upgraded TiddlyServer to target 5.1.22.
>>
>> @someguynamedmatt helped rearrange the build process, resulting in a
>> clean production build. So, I've now published TiddlyServer to npm and you
>> can install it by running
>>
>>  npm install -g tiddlyserver
>>
>> This will install it globally, which also puts it in your PATH, so you
>> can run it directly using
>>
>>  tiddlyserver --config /path/to/settings.json
>>
>> Windows should also work just fine. You can use the tilde (~) if your
>> shell supports it. I forgot to include tilde support for the config
>> parameter (if the shell passes it through). I'll add that in the future.
>>
>> If you don't have npm installed or you want to do a portable install,
>> you'll find the archives listed at
>> https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3. I
>> downloaded the tgz files from npm, and the zip files are the same archive
>> converted to a zip file.
>>
>> I've separated out the tiddlywiki bundle into a separate npm package. If
>> you're familiar with that it's still the same idea. I will add more info to
>> the readme, but for now it's ready to use. It also includes the client-side
>> .js files for adding in an html page, which probably nobody uses yet. I'm
>> still working on the use cases and so forth for that, so that's just a
>> little teaser.
>>
>> https://www.npmjs.com/package/tiddlywiki-production
>>
>> As always, remember to create backups before upgrading.
>>
>> Enjoy,
>> Arlen
>>
> --
> 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/5ec84934-3e6c-454c-802e-4e06abd22b01%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/CAJ1vdST9t%3DY62qox4zpLU7D4HbZG2SF%2BqAf_0n1A%3DiRewckW_g%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Mohammad
Arlen,
 I mean you may keep wikis in different places in different machines with 
different settings.json! You are right portability needs relative path!
 So, please go with your own instruction and ignore my comment.

--Mohammad

On Wednesday, April 29, 2020 at 12:49:14 AM UTC+4:30, Arlen Beiler wrote:
>
> Minor comment: it is better to use the full path for index.js
>>
>
> Interesting. Where did you run into this? I'm curious because it would 
> seem preferable to have a relative path for portable installs, although if 
> you don't need to specify a drive letter on windows, it should work on at 
> least windows and macos mostly consistently. Perhaps specifying the 
> __dirname equivelant in bash would be another idea.  
>

-- 
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/11b5806b-237a-4f7e-b090-c17ec0514146%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Riz
Try adding "./" to node_modules too. 

-- 
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/b31a00d0-23b7-4c38-af9d-70ae6a8bd228%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
>
> Minor comment: it is better to use the full path for index.js
>

Interesting. Where did you run into this? I'm curious because it would seem
preferable to have a relative path for portable installs, although if you
don't need to specify a drive letter on windows, it should work on at least
windows and macos mostly consistently. Perhaps specifying the __dirname
equivelant in bash would be another idea.

-- 
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/CAJ1vdSR-qdF_NM_D3zBj%2BgbwL5-SBhy5PAj9wSP9BW%2Bhw9ZtAw%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Mohammad

>
>
>
>
>- Create a new folder and cd into the folder.
>- Run "npm install tiddlyserver". Notice there is no -g option there.
>- Create your bash or batch file with the command
>   - "node node_modules/tiddlyserver/index.js --config settings.json"
>- You can also download the Node executable and put in in the 
>directory. If using bash, you need to add ./ (dot slash) to the beginning 
>of the command.
>
>
Minor comment: it is better to use the full path for index.js


Tested on Windows 10 works!

--Mohammad 

-- 
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/3f2a7d0c-29ad-4c1c-b080-99bf672963be%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
After doing it myself, I just realized that it is going to be way easier to
use NPM to create the portable install.


   - Create a new folder and cd into the folder.
   - Run "npm install tiddlyserver". Notice there is no -g option there.
   - Create your bash or batch file with the command
  - "node node_modules/tiddlyserver/index.js --config settings.json"
   - You can also download the Node executable and put in in the directory.
   If using bash, you need to add ./ (dot slash) to the beginning of the
   command.

That's it! Easy! There are some more changes coming to the NPM dependencies
that TiddlyServer uses so this option makes it easy to update as well. Just
run "npm install tiddlyserver@latest" on any computer that has NPM
installed on it, and you're updated. TiddlyServer specifies the exact
TiddlyWiki version so updating TiddlyServer will update the TiddlyWiki
dependencies as well.


On Tue, Apr 28, 2020 at 11:35 AM Mohammad Rahmani <
mohammad.rahm...@gmail.com> wrote:

> Arlen
>  I tested on Windows 10. It works fine!
>  Just one issue, It cannot create the backups folder and requires to have
> that folder in advance!
>
> Assume you have a working Node.js on your machine, follow this setup:
>
> 1. download tiddlyserver-2.2.0-alpha-3.zip and unzip in a separate folder
> 2. download tiddlywiki-production-5.1.22.zip and unzip in a separate
> folder
> 3. unzipping both in separate folders, both creates *package* folder
> 4. create a folder called TiddlyServer and put the content of package
> folder from step 1
> 5. create folder node_modulus in TiddlyServer folder
> 6. create folder tiddlywiki-production under  node_modulus
> 7. copy and paste the content of package folder from step 2 in
> tiddlywiki-production
> 8. create a setting.json as described in
> https://github.com/Arlen22/TiddlyServer/
> 
> 9. open terminal
> 10. run:  node index.js --config settings.json
>
> That is all!
>
> [image: Slide-42.png]
>
>
>
> NOTE: You can put your *settings.json* everywhere you like and create a
> batch file to run TiddlyServer
> example
>
> *startServer.cmd*
> *node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*
>
>
> Best wishes
> Mohammad
>
>
> On Tue, Apr 28, 2020 at 7:05 PM Arlen Beiler  wrote:
>
>> Here is the folder structure. Hopefully this helps. Let me know if you
>> have any further questions.
>>
>> TiddlyServer (you can rename this whatever you like)
>> This is the package folder from tiddlyserver-*
>> TiddlyServer/node_modules
>>  This is a folder you create
>> TiddlyServer/node_modules/tiddlywiki-production
>>  This is the package folder from tiddlywiki-production-*
>> TiddlyServer/index.js
>>  This is the executable bundle, run "node index.js"
>>
>> Arlen
>>
>> On Tue, Apr 28, 2020 at 2:54 AM Scott Kingery 
>> wrote:
>>
>>> Hi Arlen,
>>> I have Tiddlyserver working on a previous version and decided to do a
>>> fresh install. I like making it portable so I tried to do that again this
>>> time. Installing without NPM is a little wonky right now.
>>>
>>> I went here: https://github.com/Arlen22/TiddlyServer/releases/latest
>>> And grabbed:
>>> TiddlyServer-2.2.0-alpha-3.zip
>>> tiddlywiki-production-5.1.22.zip
>>>
>>> unzipped TiddlyServer-2.2.0-alpha-3.zip into a folder called twserver
>>> unzipped tiddlywiki-production-5.1.22.zip
>>>
>>> I believe I am supposed to rename the "package" folder that is in
>>> tiddlywiki-production-5.1.22.zip
>>> It is unclear to me whether package should be renamed tiddlywiki and
>>> simply put into my twserver folder OR if I should first create a folder
>>> called node_modules in twserver, rename package to tiddlywiki-production
>>> and put it into node_modules.
>>>
>>> Either way, your source currently does not have a server.js file nor can
>>> I find an index.js file.
>>>
>>> I decided to go the npm route because I have it available as well and
>>> was able to get things working with my old setting.json file. Things look
>>> pretty good with one exception. Unless I missed something, your plugins are
>>> still v5.1.21.
>>>
>>> Thanks for building this.
>>> Scott
>>>
>>>
>>>
>>> On Sunday, April 26, 2020 at 2:07:16 PM UTC-7, Arlen Beiler wrote:

 I apologize. The upgrade from 2.0 to 2.1 was quite significant. Here is
 my getting started guide for 2.1 and up.
 https://arlen22.github.io/tiddlyserver/docs/gettingstarted

 You can just copy the tree property over, but the other settings are
 different for the most part.

 Arlen

 On Sun, Apr 26, 2020 at 4:02 PM 'Mark S.' via TiddlyWiki <
 tiddl...@googlegroups.com> wrote:

> The startup didn't like my old 2.0 settings file. The upgrade
> instructions
> say to use example-settings.json file as a starting point. But there
> are only
> two json files in the directories (package.json), and neither are
> example-settings.json.
>
> On Sunday, 

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
There are various changes under the hood, and I assume NodeJS is improving
as well, so possibly. Using a separate XML file for the tree is a feature
that I plan to implement but I have not yet. I just thought the semantics
of XML would be less confusing than JSON. You can currently specify a
separate JS or JSON file for the tree (which does need to have the correct
extension, lol).

On Tue, Apr 28, 2020 at 2:48 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

>
>
> On Tuesday, April 28, 2020 at 11:39:17 AM UTC-7, Arlen Beiler wrote:
>>
>> I'm very sure that was a typo, but I left it since that was how Mohammad
>> wrote it. In any case, TiddlyServer doesn't care what the extension is, it
>> expects a JSON file.
>>
>
>
> In your directions (unless they were changed) you mention that you can use
> an xml file. There is (or was) even a small snippet that used XML. But
> there were no directions that I could find that told how to invoke an xml
> file. Is the XML still in there, and if so, how is it invoked?
>
> I swap off between different saving techniques so that I can understand
> what other people are experiencing. So it's been awhile since I last used
> tiddlyserver. I feel that this time it is a little faster than before. Is
> that possible? Or a false memory? ;-)
>
> Thanks!
>
> --
> 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/411051a3-f850-457b-baed-dc3e2f89f0c1%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/CAJ1vdSQaBKY5%3DmuBGu-z661jWboKezsdNbiZtNAHNSCE5S9Tiw%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread 'Mark S.' via TiddlyWiki


On Tuesday, April 28, 2020 at 11:39:17 AM UTC-7, Arlen Beiler wrote:
>
> I'm very sure that was a typo, but I left it since that was how Mohammad 
> wrote it. In any case, TiddlyServer doesn't care what the extension is, it 
> expects a JSON file. 
>


In your directions (unless they were changed) you mention that you can use 
an xml file. There is (or was) even a small snippet that used XML. But 
there were no directions that I could find that told how to invoke an xml 
file. Is the XML still in there, and if so, how is it invoked?

I swap off between different saving techniques so that I can understand 
what other people are experiencing. So it's been awhile since I last used 
tiddlyserver. I feel that this time it is a little faster than before. Is 
that possible? Or a false memory? ;-)

Thanks!

-- 
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/411051a3-f850-457b-baed-dc3e2f89f0c1%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread 'Mark S.' via TiddlyWiki
Those are nice directions, Mohammad.

On Tuesday, April 28, 2020 at 8:35:36 AM UTC-7, Mohammad wrote:
>
> Arlen
>  I tested on Windows 10. It works fine!
>  Just one issue, It cannot create the backups folder and requires to have 
> that folder in advance!
>
> Assume you have a working Node.js on your machine, follow this setup:
>
> 1. download tiddlyserver-2.2.0-alpha-3.zip and unzip in a separate folder
> 2. download tiddlywiki-production-5.1.22.zip and unzip in a separate 
> folder 
> 3. unzipping both in separate folders, both creates *package* folder
> 4. create a folder called TiddlyServer and put the content of package 
> folder from step 1
> 5. create folder node_modulus in TiddlyServer folder
> 6. create folder tiddlywiki-production under  node_modulus 
> 7. copy and paste the content of package folder from step 2 in  
> tiddlywiki-production 
> 8. create a setting.json as described in 
> https://github.com/Arlen22/TiddlyServer/ 
> 
> 9. open terminal
> 10. run:  node index.js --config settings.json
>
> That is all!
>
> [image: Slide-42.png]
>
>
>
> NOTE: You can put your *settings.json* everywhere you like and create a 
> batch file to run TiddlyServer
> example
>
> *startServer.cmd*
> *node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*
>
>
> Best wishes
> Mohammad
>
>
>

-- 
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/3950bdc4-78e4-467a-af61-e005bed3c4ff%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Mohammad
Hi Mark,

Oops, It was a typo! hson --> json

The correct one is

 node d:\TiddlyServer\index.js --config c:\mySandbox\settings.json


--Mohammad

-- 
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/8f47261d-4d93-492c-b286-19024d71727f%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Mohammad
Arlen,

Yes,

 node d:\TiddlyServer\index.js --config c:\mySandbox\settings.json


is the correct one! Sorry for typo!

--Mohammad

On Tuesday, April 28, 2020 at 10:33:26 PM UTC+4:30, Arlen Beiler wrote:
>
> It should be *node d:\TiddlyServer\index.js --config 
> c:\mySandbox\settings.hson*
>
> On Tue, Apr 28, 2020 at 11:35 AM Mohammad Rahmani  > wrote:
>
>> Arlen
>>  I tested on Windows 10. It works fine!
>>  Just one issue, It cannot create the backups folder and requires to have 
>> that folder in advance!
>>
>> Assume you have a working Node.js on your machine, follow this setup:
>>
>> 1. download tiddlyserver-2.2.0-alpha-3.zip and unzip in a separate folder
>> 2. download tiddlywiki-production-5.1.22.zip and unzip in a separate 
>> folder 
>> 3. unzipping both in separate folders, both creates *package* folder
>> 4. create a folder called TiddlyServer and put the content of package 
>> folder from step 1
>> 5. create folder node_modulus in TiddlyServer folder
>> 6. create folder tiddlywiki-production under  node_modulus 
>> 7. copy and paste the content of package folder from step 2 in  
>> tiddlywiki-production 
>> 8. create a setting.json as described in 
>> https://github.com/Arlen22/TiddlyServer/ 
>> 
>> 9. open terminal
>> 10. run:  node index.js --config settings.json
>>
>> That is all!
>>
>> [image: Slide-42.png]
>>
>>
>>
>> NOTE: You can put your *settings.json* everywhere you like and create a 
>> batch file to run TiddlyServer
>> example
>>
>> *startServer.cmd*
>> *node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>> On Tue, Apr 28, 2020 at 7:05 PM Arlen Beiler > > wrote:
>>
>>> Here is the folder structure. Hopefully this helps. Let me know if you 
>>> have any further questions.
>>>
>>> TiddlyServer (you can rename this whatever you like)
>>> This is the package folder from tiddlyserver-*
>>> TiddlyServer/node_modules 
>>>  This is a folder you create
>>> TiddlyServer/node_modules/tiddlywiki-production 
>>>  This is the package folder from tiddlywiki-production-*
>>> TiddlyServer/index.js 
>>>  This is the executable bundle, run "node index.js"
>>>
>>> Arlen
>>>
>>> On Tue, Apr 28, 2020 at 2:54 AM Scott Kingery >> > wrote:
>>>
 Hi Arlen,
 I have Tiddlyserver working on a previous version and decided to do a 
 fresh install. I like making it portable so I tried to do that again this 
 time. Installing without NPM is a little wonky right now.

 I went here: https://github.com/Arlen22/TiddlyServer/releases/latest
 And grabbed:
 TiddlyServer-2.2.0-alpha-3.zip
 tiddlywiki-production-5.1.22.zip

 unzipped TiddlyServer-2.2.0-alpha-3.zip into a folder called twserver
 unzipped tiddlywiki-production-5.1.22.zip 

 I believe I am supposed to rename the "package" folder that is in 
 tiddlywiki-production-5.1.22.zip 
 It is unclear to me whether package should be renamed tiddlywiki and 
 simply put into my twserver folder OR if I should first create a folder 
 called node_modules in twserver, rename package to tiddlywiki-production 
 and put it into node_modules.

 Either way, your source currently does not have a server.js file nor 
 can I find an index.js file.

 I decided to go the npm route because I have it available as well and 
 was able to get things working with my old setting.json file. Things look 
 pretty good with one exception. Unless I missed something, your plugins 
 are 
 still v5.1.21.

 Thanks for building this.
 Scott



 On Sunday, April 26, 2020 at 2:07:16 PM UTC-7, Arlen Beiler wrote:
>
> I apologize. The upgrade from 2.0 to 2.1 was quite significant. Here 
> is my getting started guide for 2.1 and up. 
> https://arlen22.github.io/tiddlyserver/docs/gettingstarted 
>
> You can just copy the tree property over, but the other settings are 
> different for the most part. 
>
> Arlen
>
> On Sun, Apr 26, 2020 at 4:02 PM 'Mark S.' via TiddlyWiki <
> tiddl...@googlegroups.com> wrote:
>
>> The startup didn't like my old 2.0 settings file. The upgrade 
>> instructions
>> say to use example-settings.json file as a starting point. But there 
>> are only
>> two json files in the directories (package.json), and neither are 
>> example-settings.json.
>>
>> On Sunday, April 26, 2020 at 6:00:02 AM UTC-7, Arlen Beiler wrote:
>>>
>>> To run it portable, use "node index.js" instead of the 
>>> "tiddlyserver" command.  (sorry, forgot to mention the name change). 
>>>
>>> tiddlyserver-* contains a package folder which should be renamed 
>>> TiddlyServer.
>>>
>>> tiddlywiki-production-* contains a package folder which should 
>>> become TiddlyServer/node_modules/tiddlywiki-production. In other words, 
>>> create 

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
I'm very sure that was a typo, but I left it since that was how Mohammad
wrote it. In any case, TiddlyServer doesn't care what the extension is, it
expects a JSON file.

On Tue, Apr 28, 2020 at 2:37 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> What is a hson file?
>
> On Tuesday, April 28, 2020 at 11:03:26 AM UTC-7, Arlen Beiler wrote:
>>
>> It should be *node d:\TiddlyServer\index.js --config
>> c:\mySandbox\settings.hson*
>>
>> On Tue, Apr 28, 2020 at 11:35 AM Mohammad Rahmani wrote:
>>
>>> Arlen
>>>  I tested on Windows 10. It works fine!
>>>  Just one issue, It cannot create the backups folder and requires to
>>> have that folder in advance!
>>>
>>> Assume you have a working Node.js on your machine, follow this setup:
>>>
>>> 1. download tiddlyserver-2.2.0-alpha-3.zip and unzip in a separate folder
>>> 2. download tiddlywiki-production-5.1.22.zip and unzip in a separate
>>> folder
>>> 3. unzipping both in separate folders, both creates *package* folder
>>> 4. create a folder called TiddlyServer and put the content of package
>>> folder from step 1
>>> 5. create folder node_modulus in TiddlyServer folder
>>> 6. create folder tiddlywiki-production under  node_modulus
>>> 7. copy and paste the content of package folder from step 2 in
>>> tiddlywiki-production
>>> 8. create a setting.json as described in
>>> https://github.com/Arlen22/TiddlyServer/
>>> 
>>> 9. open terminal
>>> 10. run:  node index.js --config settings.json
>>>
>>> That is all!
>>>
>>> [image: Slide-42.png]
>>>
>>>
>>>
>>> NOTE: You can put your *settings.json* everywhere you like and create a
>>> batch file to run TiddlyServer
>>> example
>>>
>>> *startServer.cmd*
>>> *node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*
>>>
>>>
>>> Best wishes
>>> Mohammad
>>>
>>>
>>> --
> 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/41176131-ce88-4e90-82fc-71840d096436%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/CAJ1vdST5wUqXhDgnKSUkXtZUvJOf-qhW1gXZCgvRpgPc6dCrKw%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread 'Mark S.' via TiddlyWiki
What is a hson file?

On Tuesday, April 28, 2020 at 11:03:26 AM UTC-7, Arlen Beiler wrote:
>
> It should be *node d:\TiddlyServer\index.js --config 
> c:\mySandbox\settings.hson*
>
> On Tue, Apr 28, 2020 at 11:35 AM Mohammad Rahmani wrote:
>
>> Arlen
>>  I tested on Windows 10. It works fine!
>>  Just one issue, It cannot create the backups folder and requires to have 
>> that folder in advance!
>>
>> Assume you have a working Node.js on your machine, follow this setup:
>>
>> 1. download tiddlyserver-2.2.0-alpha-3.zip and unzip in a separate folder
>> 2. download tiddlywiki-production-5.1.22.zip and unzip in a separate 
>> folder 
>> 3. unzipping both in separate folders, both creates *package* folder
>> 4. create a folder called TiddlyServer and put the content of package 
>> folder from step 1
>> 5. create folder node_modulus in TiddlyServer folder
>> 6. create folder tiddlywiki-production under  node_modulus 
>> 7. copy and paste the content of package folder from step 2 in  
>> tiddlywiki-production 
>> 8. create a setting.json as described in 
>> https://github.com/Arlen22/TiddlyServer/ 
>> 
>> 9. open terminal
>> 10. run:  node index.js --config settings.json
>>
>> That is all!
>>
>> [image: Slide-42.png]
>>
>>
>>
>> NOTE: You can put your *settings.json* everywhere you like and create a 
>> batch file to run TiddlyServer
>> example
>>
>> *startServer.cmd*
>> *node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*
>>
>>
>> Best wishes
>> Mohammad
>>
>>
>>

-- 
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/41176131-ce88-4e90-82fc-71840d096436%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
It should be *node d:\TiddlyServer\index.js --config
c:\mySandbox\settings.hson*

On Tue, Apr 28, 2020 at 11:35 AM Mohammad Rahmani <
mohammad.rahm...@gmail.com> wrote:

> Arlen
>  I tested on Windows 10. It works fine!
>  Just one issue, It cannot create the backups folder and requires to have
> that folder in advance!
>
> Assume you have a working Node.js on your machine, follow this setup:
>
> 1. download tiddlyserver-2.2.0-alpha-3.zip and unzip in a separate folder
> 2. download tiddlywiki-production-5.1.22.zip and unzip in a separate
> folder
> 3. unzipping both in separate folders, both creates *package* folder
> 4. create a folder called TiddlyServer and put the content of package
> folder from step 1
> 5. create folder node_modulus in TiddlyServer folder
> 6. create folder tiddlywiki-production under  node_modulus
> 7. copy and paste the content of package folder from step 2 in
> tiddlywiki-production
> 8. create a setting.json as described in
> https://github.com/Arlen22/TiddlyServer/
> 
> 9. open terminal
> 10. run:  node index.js --config settings.json
>
> That is all!
>
> [image: Slide-42.png]
>
>
>
> NOTE: You can put your *settings.json* everywhere you like and create a
> batch file to run TiddlyServer
> example
>
> *startServer.cmd*
> *node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*
>
>
> Best wishes
> Mohammad
>
>
> On Tue, Apr 28, 2020 at 7:05 PM Arlen Beiler  wrote:
>
>> Here is the folder structure. Hopefully this helps. Let me know if you
>> have any further questions.
>>
>> TiddlyServer (you can rename this whatever you like)
>> This is the package folder from tiddlyserver-*
>> TiddlyServer/node_modules
>>  This is a folder you create
>> TiddlyServer/node_modules/tiddlywiki-production
>>  This is the package folder from tiddlywiki-production-*
>> TiddlyServer/index.js
>>  This is the executable bundle, run "node index.js"
>>
>> Arlen
>>
>> On Tue, Apr 28, 2020 at 2:54 AM Scott Kingery 
>> wrote:
>>
>>> Hi Arlen,
>>> I have Tiddlyserver working on a previous version and decided to do a
>>> fresh install. I like making it portable so I tried to do that again this
>>> time. Installing without NPM is a little wonky right now.
>>>
>>> I went here: https://github.com/Arlen22/TiddlyServer/releases/latest
>>> And grabbed:
>>> TiddlyServer-2.2.0-alpha-3.zip
>>> tiddlywiki-production-5.1.22.zip
>>>
>>> unzipped TiddlyServer-2.2.0-alpha-3.zip into a folder called twserver
>>> unzipped tiddlywiki-production-5.1.22.zip
>>>
>>> I believe I am supposed to rename the "package" folder that is in
>>> tiddlywiki-production-5.1.22.zip
>>> It is unclear to me whether package should be renamed tiddlywiki and
>>> simply put into my twserver folder OR if I should first create a folder
>>> called node_modules in twserver, rename package to tiddlywiki-production
>>> and put it into node_modules.
>>>
>>> Either way, your source currently does not have a server.js file nor can
>>> I find an index.js file.
>>>
>>> I decided to go the npm route because I have it available as well and
>>> was able to get things working with my old setting.json file. Things look
>>> pretty good with one exception. Unless I missed something, your plugins are
>>> still v5.1.21.
>>>
>>> Thanks for building this.
>>> Scott
>>>
>>>
>>>
>>> On Sunday, April 26, 2020 at 2:07:16 PM UTC-7, Arlen Beiler wrote:

 I apologize. The upgrade from 2.0 to 2.1 was quite significant. Here is
 my getting started guide for 2.1 and up.
 https://arlen22.github.io/tiddlyserver/docs/gettingstarted

 You can just copy the tree property over, but the other settings are
 different for the most part.

 Arlen

 On Sun, Apr 26, 2020 at 4:02 PM 'Mark S.' via TiddlyWiki <
 tiddl...@googlegroups.com> wrote:

> The startup didn't like my old 2.0 settings file. The upgrade
> instructions
> say to use example-settings.json file as a starting point. But there
> are only
> two json files in the directories (package.json), and neither are
> example-settings.json.
>
> On Sunday, April 26, 2020 at 6:00:02 AM UTC-7, Arlen Beiler wrote:
>>
>> To run it portable, use "node index.js" instead of the "tiddlyserver"
>> command.  (sorry, forgot to mention the name change).
>>
>> tiddlyserver-* contains a package folder which should be renamed
>> TiddlyServer.
>>
>> tiddlywiki-production-* contains a package folder which should become
>> TiddlyServer/node_modules/tiddlywiki-production. In other words, create 
>> the
>> node_modules folder, and put the tiddlywiki-production package folder
>> inside that and rename it tiddlywiki-production.
>>
>> TiddlyServer
>> This is the package folder from tiddlyserver-*
>> TiddlyServer/node_modules
>>  This is a folder you create
>> TiddlyServer/node_modules/tiddlywiki-production
>>  

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Mohammad Rahmani
Arlen
 I tested on Windows 10. It works fine!
 Just one issue, It cannot create the backups folder and requires to have
that folder in advance!

Assume you have a working Node.js on your machine, follow this setup:

1. download tiddlyserver-2.2.0-alpha-3.zip and unzip in a separate folder
2. download tiddlywiki-production-5.1.22.zip and unzip in a separate folder
3. unzipping both in separate folders, both creates *package* folder
4. create a folder called TiddlyServer and put the content of package
folder from step 1
5. create folder node_modulus in TiddlyServer folder
6. create folder tiddlywiki-production under  node_modulus
7. copy and paste the content of package folder from step 2 in
tiddlywiki-production
8. create a setting.json as described in
https://github.com/Arlen22/TiddlyServer/

9. open terminal
10. run:  node index.js --config settings.json

That is all!

[image: Slide-42.png]



NOTE: You can put your *settings.json* everywhere you like and create a
batch file to run TiddlyServer
example

*startServer.cmd*
*node d:\TiddlyServer\index.js c:\mySandbox\settings.hson*


Best wishes
Mohammad


On Tue, Apr 28, 2020 at 7:05 PM Arlen Beiler  wrote:

> Here is the folder structure. Hopefully this helps. Let me know if you
> have any further questions.
>
> TiddlyServer (you can rename this whatever you like)
> This is the package folder from tiddlyserver-*
> TiddlyServer/node_modules
>  This is a folder you create
> TiddlyServer/node_modules/tiddlywiki-production
>  This is the package folder from tiddlywiki-production-*
> TiddlyServer/index.js
>  This is the executable bundle, run "node index.js"
>
> Arlen
>
> On Tue, Apr 28, 2020 at 2:54 AM Scott Kingery 
> wrote:
>
>> Hi Arlen,
>> I have Tiddlyserver working on a previous version and decided to do a
>> fresh install. I like making it portable so I tried to do that again this
>> time. Installing without NPM is a little wonky right now.
>>
>> I went here: https://github.com/Arlen22/TiddlyServer/releases/latest
>> And grabbed:
>> TiddlyServer-2.2.0-alpha-3.zip
>> tiddlywiki-production-5.1.22.zip
>>
>> unzipped TiddlyServer-2.2.0-alpha-3.zip into a folder called twserver
>> unzipped tiddlywiki-production-5.1.22.zip
>>
>> I believe I am supposed to rename the "package" folder that is in
>> tiddlywiki-production-5.1.22.zip
>> It is unclear to me whether package should be renamed tiddlywiki and
>> simply put into my twserver folder OR if I should first create a folder
>> called node_modules in twserver, rename package to tiddlywiki-production
>> and put it into node_modules.
>>
>> Either way, your source currently does not have a server.js file nor can
>> I find an index.js file.
>>
>> I decided to go the npm route because I have it available as well and was
>> able to get things working with my old setting.json file. Things look
>> pretty good with one exception. Unless I missed something, your plugins are
>> still v5.1.21.
>>
>> Thanks for building this.
>> Scott
>>
>>
>>
>> On Sunday, April 26, 2020 at 2:07:16 PM UTC-7, Arlen Beiler wrote:
>>>
>>> I apologize. The upgrade from 2.0 to 2.1 was quite significant. Here is
>>> my getting started guide for 2.1 and up.
>>> https://arlen22.github.io/tiddlyserver/docs/gettingstarted
>>>
>>> You can just copy the tree property over, but the other settings are
>>> different for the most part.
>>>
>>> Arlen
>>>
>>> On Sun, Apr 26, 2020 at 4:02 PM 'Mark S.' via TiddlyWiki <
>>> tiddl...@googlegroups.com> wrote:
>>>
 The startup didn't like my old 2.0 settings file. The upgrade
 instructions
 say to use example-settings.json file as a starting point. But there
 are only
 two json files in the directories (package.json), and neither are
 example-settings.json.

 On Sunday, April 26, 2020 at 6:00:02 AM UTC-7, Arlen Beiler wrote:
>
> To run it portable, use "node index.js" instead of the "tiddlyserver"
> command.  (sorry, forgot to mention the name change).
>
> tiddlyserver-* contains a package folder which should be renamed
> TiddlyServer.
>
> tiddlywiki-production-* contains a package folder which should become
> TiddlyServer/node_modules/tiddlywiki-production. In other words, create 
> the
> node_modules folder, and put the tiddlywiki-production package folder
> inside that and rename it tiddlywiki-production.
>
> TiddlyServer
> This is the package folder from tiddlyserver-*
> TiddlyServer/node_modules
>  This is a folder you create
> TiddlyServer/node_modules/tiddlywiki-production
>  This is the package folder from tiddlywiki-production-*
> TiddlyServer/index.js
>  This is the executable bundle, run "node index.js"
>
> Hope that helps. Let me know if it is still unclear.
>
> I do appreciate you all's feedback, thanks,
> Arlen
>
> On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' 

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Arlen Beiler
Here is the folder structure. Hopefully this helps. Let me know if you have
any further questions.

TiddlyServer (you can rename this whatever you like)
This is the package folder from tiddlyserver-*
TiddlyServer/node_modules
 This is a folder you create
TiddlyServer/node_modules/tiddlywiki-production
 This is the package folder from tiddlywiki-production-*
TiddlyServer/index.js
 This is the executable bundle, run "node index.js"

Arlen

On Tue, Apr 28, 2020 at 2:54 AM Scott Kingery 
wrote:

> Hi Arlen,
> I have Tiddlyserver working on a previous version and decided to do a
> fresh install. I like making it portable so I tried to do that again this
> time. Installing without NPM is a little wonky right now.
>
> I went here: https://github.com/Arlen22/TiddlyServer/releases/latest
> And grabbed:
> TiddlyServer-2.2.0-alpha-3.zip
> tiddlywiki-production-5.1.22.zip
>
> unzipped TiddlyServer-2.2.0-alpha-3.zip into a folder called twserver
> unzipped tiddlywiki-production-5.1.22.zip
>
> I believe I am supposed to rename the "package" folder that is in
> tiddlywiki-production-5.1.22.zip
> It is unclear to me whether package should be renamed tiddlywiki and
> simply put into my twserver folder OR if I should first create a folder
> called node_modules in twserver, rename package to tiddlywiki-production
> and put it into node_modules.
>
> Either way, your source currently does not have a server.js file nor can I
> find an index.js file.
>
> I decided to go the npm route because I have it available as well and was
> able to get things working with my old setting.json file. Things look
> pretty good with one exception. Unless I missed something, your plugins are
> still v5.1.21.
>
> Thanks for building this.
> Scott
>
>
>
> On Sunday, April 26, 2020 at 2:07:16 PM UTC-7, Arlen Beiler wrote:
>>
>> I apologize. The upgrade from 2.0 to 2.1 was quite significant. Here is
>> my getting started guide for 2.1 and up.
>> https://arlen22.github.io/tiddlyserver/docs/gettingstarted
>>
>> You can just copy the tree property over, but the other settings are
>> different for the most part.
>>
>> Arlen
>>
>> On Sun, Apr 26, 2020 at 4:02 PM 'Mark S.' via TiddlyWiki <
>> tiddl...@googlegroups.com> wrote:
>>
>>> The startup didn't like my old 2.0 settings file. The upgrade
>>> instructions
>>> say to use example-settings.json file as a starting point. But there are
>>> only
>>> two json files in the directories (package.json), and neither are
>>> example-settings.json.
>>>
>>> On Sunday, April 26, 2020 at 6:00:02 AM UTC-7, Arlen Beiler wrote:

 To run it portable, use "node index.js" instead of the "tiddlyserver"
 command.  (sorry, forgot to mention the name change).

 tiddlyserver-* contains a package folder which should be renamed
 TiddlyServer.

 tiddlywiki-production-* contains a package folder which should become
 TiddlyServer/node_modules/tiddlywiki-production. In other words, create the
 node_modules folder, and put the tiddlywiki-production package folder
 inside that and rename it tiddlywiki-production.

 TiddlyServer
 This is the package folder from tiddlyserver-*
 TiddlyServer/node_modules
  This is a folder you create
 TiddlyServer/node_modules/tiddlywiki-production
  This is the package folder from tiddlywiki-production-*
 TiddlyServer/index.js
  This is the executable bundle, run "node index.js"

 Hope that helps. Let me know if it is still unclear.

 I do appreciate you all's feedback, thanks,
 Arlen

 On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' via TiddlyWiki <
 tiddl...@googlegroups.com> wrote:

> I'm running Linux, but like Mohammad I don't see a server.js file in
> the unzipped packages.
>
> On Friday, April 24, 2020 at 1:39:44 PM UTC-7, Arlen Beiler wrote:
>>
>> Hello Everyone,
>>
> --
> 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 tiddl...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/4b1ff989-9762-4cfd-bb35-7e9b87d718e3%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 tiddl...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/tiddlywiki/24d7d2fb-b0d0-44e5-8379-2f4e8f86d611%40googlegroups.com
>>> 
>>> .
>>>
>> --
> You 

Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-28 Thread Scott Kingery
Hi Arlen,
I have Tiddlyserver working on a previous version and decided to do a fresh 
install. I like making it portable so I tried to do that again this time. 
Installing without NPM is a little wonky right now.

I went here: https://github.com/Arlen22/TiddlyServer/releases/latest
And grabbed:
TiddlyServer-2.2.0-alpha-3.zip
tiddlywiki-production-5.1.22.zip

unzipped TiddlyServer-2.2.0-alpha-3.zip into a folder called twserver
unzipped tiddlywiki-production-5.1.22.zip 

I believe I am supposed to rename the "package" folder that is in 
tiddlywiki-production-5.1.22.zip 
It is unclear to me whether package should be renamed tiddlywiki and simply 
put into my twserver folder OR if I should first create a folder called 
node_modules in twserver, rename package to tiddlywiki-production and put 
it into node_modules.

Either way, your source currently does not have a server.js file nor can I 
find an index.js file.

I decided to go the npm route because I have it available as well and was 
able to get things working with my old setting.json file. Things look 
pretty good with one exception. Unless I missed something, your plugins are 
still v5.1.21.

Thanks for building this.
Scott



On Sunday, April 26, 2020 at 2:07:16 PM UTC-7, Arlen Beiler wrote:
>
> I apologize. The upgrade from 2.0 to 2.1 was quite significant. Here is my 
> getting started guide for 2.1 and up. 
> https://arlen22.github.io/tiddlyserver/docs/gettingstarted 
>
> You can just copy the tree property over, but the other settings are 
> different for the most part. 
>
> Arlen
>
> On Sun, Apr 26, 2020 at 4:02 PM 'Mark S.' via TiddlyWiki <
> tiddl...@googlegroups.com > wrote:
>
>> The startup didn't like my old 2.0 settings file. The upgrade instructions
>> say to use example-settings.json file as a starting point. But there are 
>> only
>> two json files in the directories (package.json), and neither are 
>> example-settings.json.
>>
>> On Sunday, April 26, 2020 at 6:00:02 AM UTC-7, Arlen Beiler wrote:
>>>
>>> To run it portable, use "node index.js" instead of the "tiddlyserver" 
>>> command.  (sorry, forgot to mention the name change). 
>>>
>>> tiddlyserver-* contains a package folder which should be renamed 
>>> TiddlyServer.
>>>
>>> tiddlywiki-production-* contains a package folder which should become 
>>> TiddlyServer/node_modules/tiddlywiki-production. In other words, create the 
>>> node_modules folder, and put the tiddlywiki-production package folder 
>>> inside that and rename it tiddlywiki-production. 
>>>
>>> TiddlyServer 
>>> This is the package folder from tiddlyserver-*
>>> TiddlyServer/node_modules 
>>>  This is a folder you create
>>> TiddlyServer/node_modules/tiddlywiki-production 
>>>  This is the package folder from tiddlywiki-production-*
>>> TiddlyServer/index.js 
>>>  This is the executable bundle, run "node index.js"
>>>
>>> Hope that helps. Let me know if it is still unclear.
>>>
>>> I do appreciate you all's feedback, thanks,
>>> Arlen
>>>
>>> On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' via TiddlyWiki <
>>> tiddl...@googlegroups.com > wrote:
>>>
 I'm running Linux, but like Mohammad I don't see a server.js file in 
 the unzipped packages.

 On Friday, April 24, 2020 at 1:39:44 PM UTC-7, Arlen Beiler wrote:
>
> Hello Everyone,
>
 -- 
 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 tiddl...@googlegroups.com .
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/tiddlywiki/4b1ff989-9762-4cfd-bb35-7e9b87d718e3%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 tiddl...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/24d7d2fb-b0d0-44e5-8379-2f4e8f86d611%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/66a63833-c4f2-4bdd-b86e-5e26044c1c43%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-26 Thread Arlen Beiler
I apologize. The upgrade from 2.0 to 2.1 was quite significant. Here is my
getting started guide for 2.1 and up.
https://arlen22.github.io/tiddlyserver/docs/gettingstarted

You can just copy the tree property over, but the other settings are
different for the most part.

Arlen

On Sun, Apr 26, 2020 at 4:02 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> The startup didn't like my old 2.0 settings file. The upgrade instructions
> say to use example-settings.json file as a starting point. But there are
> only
> two json files in the directories (package.json), and neither are
> example-settings.json.
>
> On Sunday, April 26, 2020 at 6:00:02 AM UTC-7, Arlen Beiler wrote:
>>
>> To run it portable, use "node index.js" instead of the "tiddlyserver"
>> command.  (sorry, forgot to mention the name change).
>>
>> tiddlyserver-* contains a package folder which should be renamed
>> TiddlyServer.
>>
>> tiddlywiki-production-* contains a package folder which should become
>> TiddlyServer/node_modules/tiddlywiki-production. In other words, create the
>> node_modules folder, and put the tiddlywiki-production package folder
>> inside that and rename it tiddlywiki-production.
>>
>> TiddlyServer
>> This is the package folder from tiddlyserver-*
>> TiddlyServer/node_modules
>>  This is a folder you create
>> TiddlyServer/node_modules/tiddlywiki-production
>>  This is the package folder from tiddlywiki-production-*
>> TiddlyServer/index.js
>>  This is the executable bundle, run "node index.js"
>>
>> Hope that helps. Let me know if it is still unclear.
>>
>> I do appreciate you all's feedback, thanks,
>> Arlen
>>
>> On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' via TiddlyWiki <
>> tiddlywiki@googlegroups.com> wrote:
>>
>>> I'm running Linux, but like Mohammad I don't see a server.js file in the
>>> unzipped packages.
>>>
>>> On Friday, April 24, 2020 at 1:39:44 PM UTC-7, Arlen Beiler wrote:

 Hello Everyone,

>>> --
>>> 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/4b1ff989-9762-4cfd-bb35-7e9b87d718e3%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/24d7d2fb-b0d0-44e5-8379-2f4e8f86d611%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/CAJ1vdSQqeBxobPXfmP%2Bdu2cm37xRbgo9dKAwbYwD5Sneo25_Kg%40mail.gmail.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-26 Thread 'Mark S.' via TiddlyWiki
The startup didn't like my old 2.0 settings file. The upgrade instructions
say to use example-settings.json file as a starting point. But there are 
only
two json files in the directories (package.json), and neither are 
example-settings.json.

On Sunday, April 26, 2020 at 6:00:02 AM UTC-7, Arlen Beiler wrote:
>
> To run it portable, use "node index.js" instead of the "tiddlyserver" 
> command.  (sorry, forgot to mention the name change). 
>
> tiddlyserver-* contains a package folder which should be renamed 
> TiddlyServer.
>
> tiddlywiki-production-* contains a package folder which should become 
> TiddlyServer/node_modules/tiddlywiki-production. In other words, create the 
> node_modules folder, and put the tiddlywiki-production package folder 
> inside that and rename it tiddlywiki-production. 
>
> TiddlyServer 
> This is the package folder from tiddlyserver-*
> TiddlyServer/node_modules 
>  This is a folder you create
> TiddlyServer/node_modules/tiddlywiki-production 
>  This is the package folder from tiddlywiki-production-*
> TiddlyServer/index.js 
>  This is the executable bundle, run "node index.js"
>
> Hope that helps. Let me know if it is still unclear.
>
> I do appreciate you all's feedback, thanks,
> Arlen
>
> On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' via TiddlyWiki <
> tiddlywiki@googlegroups.com> wrote:
>
>> I'm running Linux, but like Mohammad I don't see a server.js file in the 
>> unzipped packages.
>>
>> On Friday, April 24, 2020 at 1:39:44 PM UTC-7, Arlen Beiler wrote:
>>>
>>> Hello Everyone,
>>>
>> -- 
>> 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/4b1ff989-9762-4cfd-bb35-7e9b87d718e3%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/24d7d2fb-b0d0-44e5-8379-2f4e8f86d611%40googlegroups.com.


Re: [tw5] Re: TiddlyServer upgraded to 5.1.22 (and NPM install)

2020-04-26 Thread Arlen Beiler
To run it portable, use "node index.js" instead of the "tiddlyserver"
command.  (sorry, forgot to mention the name change).

tiddlyserver-* contains a package folder which should be renamed
TiddlyServer.

tiddlywiki-production-* contains a package folder which should become
TiddlyServer/node_modules/tiddlywiki-production. In other words, create the
node_modules folder, and put the tiddlywiki-production package folder
inside that and rename it tiddlywiki-production.

TiddlyServer
This is the package folder from tiddlyserver-*
TiddlyServer/node_modules
 This is a folder you create
TiddlyServer/node_modules/tiddlywiki-production
 This is the package folder from tiddlywiki-production-*
TiddlyServer/index.js
 This is the executable bundle, run "node index.js"

Hope that helps. Let me know if it is still unclear.

I do appreciate you all's feedback, thanks,
Arlen

On Sat, Apr 25, 2020 at 11:14 PM 'Mark S.' via TiddlyWiki <
tiddlywiki@googlegroups.com> wrote:

> I'm running Linux, but like Mohammad I don't see a server.js file in the
> unzipped packages.
>
> On Friday, April 24, 2020 at 1:39:44 PM UTC-7, Arlen Beiler wrote:
>>
>> Hello Everyone,
>>
> --
> 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/4b1ff989-9762-4cfd-bb35-7e9b87d718e3%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/CAJ1vdSSfLVpyfeP7L9fcTx3Riyofz68PYR1sKo9L8a37X5Epfw%40mail.gmail.com.