Start the TiddlyWiki Server
start_server.Rd
This function starts the TiddlyWiki server with the specified configurations. It can start the server either in MultiWikiServer (MWS) mode or regular mode.
Arguments
- tidepath
Character. The path where the tide folder is located. Default is "myTide".
- mws
Logical. Indicates whether to set up the TiddlyWiki server in MultiWikiServer mode. Default is FALSE.
- tiddlywiki
Character. The path to the TiddlyWiki installation. Default is NA.
- wikipath
Character. The path where the wiki data will be stored. Default is NA.
Examples
# Start the server with default settings
p <- start_server()
#> Error in c("process_initialize(self, private, command, args, stdin, stdout, ", " stderr, pty, pty_options, connections, poll_connection, env, "): ! Native call to `processx_exec` failed
#> Caused by error in `chain_call(c_processx_exec, command, c(command, args), pty, pty_options, …`:
#> ! cannot start processx process 'tiddlywiki' (system error 2, No such file or directory) @unix/processx.c:611 (processx_exec)
# Start the server with custom settings
p <- start_server(tidepath = "customPath", mws = TRUE, tiddlywiki = "path/to/tiddlywiki", wikipath = "path/to/wiki")