Hi TJ Am I correct in understanding that the problem you're experiencing is that you're seeing an unstyled but otherwise functional TiddlyWiki in the browser?
The steps you describe about moving a tiddlywiki.info file into the boot folder of the TW5 repo are not correct. The TW5 repo holds the code; your data would ordinarily be stored in an entirely different folder. > 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. The init command does indeed just copy a tiddlywiki.info file into your wiki folder. I don't understand why it's not working for you, though? Why aren't you just creating a blank wiki folder within process.env.OPENSHIFT_DATA_DIR? Best wishes Jeremy. On Sat, Apr 11, 2015 at 6:13 AM, TJ Hoeft <[email protected]> wrote: > 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 > > On Friday, April 10, 2015 at 4:51:53 PM UTC-7, TJ Hoeft wrote: >> >> Hello everyone, >> I'm trying to do a similar deployment in OpenShift based on the blog: >> >> http://ericmiao.github.io/blog/2014/04/05/setup-personal-tiddlywiki-on- >> openshift/ >> >> I ended up with the same issue with the themes. >> TJ >> >> >> On Friday, January 9, 2015 at 11:30:16 AM UTC-8, Jeremy Ruston wrote: >>> >>> Hi Châu >>> >>> That's an unusual way to start TiddlyWiki. I'm guessing that you modded >>> tiddlywiki.js from the TW5 repo? >>> >>> Anyhow, have you initialised your data directory? To be a valid wiki >>> folder you need to create a tiddlywiki.info file. The usual way of >>> doing that is via the command line: >>> >>> tiddlywiki my_data_dir --init server >>> >>> Best wishes >>> >>> Jeremy >>> >>> On Fri, Jan 9, 2015 at 7:07 AM, Châu Thân Đức Hoàng < >>> [email protected]> wrote: >>> >>>> I setup my personal tiddlywiki on OpenShift. But it don't load themes. >>>> This is my code to start it. >>>> >>>>> var $tw = require("./boot/boot.js").TiddlyWiki(); >>>>> $tw.boot.argv = [ >>>>> process.env.OPENSHIFT_DATA_DIR, >>>>> "--server", >>>>> process.env.OPENSHIFT_NODEJS_PORT, >>>>> "$:/core/save/all", >>>>> "text/plain", >>>>> "text/html", >>>>> "usename", >>>>> "password", >>>>> process.env.OPENSHIFT_NODEJS_IP, >>>>> ]; >>>>> $tw.boot.boot(); >>>> >>>> >>>> Please help me. >>>> Thanks. >>>> >>>> PS: I don't know about argurement of $tw. Where do I read it? >>>> >>>> -- >>>> 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 post to this group, send email to [email protected]. >>>> Visit this group at http://groups.google.com/group/tiddlywiki. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Jeremy Ruston >>> mailto:[email protected] >>> >> -- Jeremy Ruston mailto:[email protected] -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJbW%3DcXTcKvrD9ZFAaf1ZK88Gi4sZYB4AqohfzkrrWRKYA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

