Hello,
I'm still wrestling to figure out themes. I looked at the boot.js and found a config block as shown below:
config: { // Configuration overridables
pluginsPath: "../plugins/",
themesPath: "../themes/",
languagesPath: "../languages/",
editionsPath: "../editions/",
wikiInfo: "./tiddlywiki.info",
wikiPluginsSubDir: "./plugins",
wikiThemesSubDir: "./themes",
wikiLanguagesSubDir: "./languages",
wikiTiddlersSubDir: "./tiddlers",
wikiOutputSubDir: "./output",
jsModuleHeaderRegExpString: "^\\/\\*\\\\(?:\\r?\\n)((?:^[^\\r\\n]*(?:\\r?\\n))+?)(^\\\\\\*\\/$(?:\\r?\\n)?)",
fileExtensionInfo: Object.create(null), // Map file extension to {type:}
contentTypeInfo: Object.create(null), // Map type to {encoding:,extension:}
pluginsEnvVar: "TIDDLYWIKI_PLUGIN_PATH",
themesEnvVar: "TIDDLYWIKI_THEME_PATH",
languagesEnvVar: "TIDDLYWIKI_LANGUAGE_PATH",
editionsEnvVar: "TIDDLYWIKI_EDITION_PATH"
}
I have a locally generated TW5 server instance. I was able to copy its "
tiddlywiki.info" into my OpenShift staging area within the "boot" subdirectory. (I also copied the entire "tiddlers" subdir there too.) I added and checked in my changes into Git and pushed them to OpenShift. After restarting NodeJS on OpenShift, I was able to see my content.
Since the "
tiddlywiki mynewwiki --init server" mainly seems to generate a "
tiddlywiki.info", I assumed that having this file referenced from the code would fix the "Themes Issue". No success.
Any ideas?
Thanks ahead of time,
TJ