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 <[email protected] 
> <javascript:>> 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/ 
>> <https://github.com/Arlen22/TiddlyServer/releases/tag/v2.2.0-alpha-3>
>> 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 <[email protected] 
>> <javascript:>> 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 <[email protected] 
>>> <javascript:>> 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 <
>>>>> [email protected]> 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 <
>>>>>>> [email protected]> 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 [email protected].
>>>>>>>> To view this discussion on the web visit 
>>>>>>>> https://groups.google.com/d/msgid/tiddlywiki/4b1ff989-9762-4cfd-bb35-7e9b87d718e3%40googlegroups.com
>>>>>>>>  
>>>>>>>> <https://groups.google.com/d/msgid/tiddlywiki/4b1ff989-9762-4cfd-bb35-7e9b87d718e3%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "TiddlyWiki" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to [email protected].
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/tiddlywiki/24d7d2fb-b0d0-44e5-8379-2f4e8f86d611%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/tiddlywiki/24d7d2fb-b0d0-44e5-8379-2f4e8f86d611%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "TiddlyWiki" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected] <javascript:>.
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/tiddlywiki/66a63833-c4f2-4bdd-b86e-5e26044c1c43%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/tiddlywiki/66a63833-c4f2-4bdd-b86e-5e26044c1c43%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "TiddlyWiki" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] <javascript:>.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdST6dChQeVBjrvQubjww2uiEpR9PUvMcXLfaHR3n0Cfq0Q%40mail.gmail.com
>>>  
>>> <https://groups.google.com/d/msgid/tiddlywiki/CAJ1vdST6dChQeVBjrvQubjww2uiEpR9PUvMcXLfaHR3n0Cfq0Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "TiddlyWiki" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMA5rFeEYFj0XWG4sgzdbLYiXjtDWwcpJu861CJ3rH_gnA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/CAAV1gMA5rFeEYFj0XWG4sgzdbLYiXjtDWwcpJu861CJ3rH_gnA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/42c5a756-178a-4c70-91af-8e1f9c1072f4%40googlegroups.com.

Reply via email to