Hi Jeremy, Thanks for the advice. I am now trying to clean up the build process and document it.
> A reasonable strategy might be to default to deriving the database and design > document from the URL, but to enable them to be overridden with system > tiddlers. The TiddlySpot saver does something similar composing the upload > URL from the wikiname, but allowing it to be overridden with the $:/UploadURL > system tiddler. Where will this updated system tiddler be stored? Will the users be building the edition themselves with an updated $:/UploadURL coded inside the HTML? Regards, William On 27 September 2014 08:56, Jeremy Ruston <[email protected]> wrote: > Hi William > >> Thanks for the comments. I am leaving it there just in case any users >> want to use a field name starting with "_". This will cause errors in >> CouchDB since names starting with an underscore in the root object are >> reserved. > > > Aha, that makes sense, I wasn't aware of that restriction in CouchDB. The > core "_canonical_uri" field would get caught by it. > >> >> Before I write the instructions, I have questions about where to put >> the files for my custom edition. Should I just put it in the >> repository? > > > To begin with you should publish the edition independently, on your own repo > (I'll add a link from tiddlywiki.com; is > https://github.com/wshallum/couchadaptor the best URL to use?) . > Assimilating the plugin and edition into the main tiddlywiki.com > distribution will take a little longer; we'll need to get things to the > point where I can easily test it against changes to the core. > >> >> Also there is a question of how the adaptor can best find the server >> and the database name. I can probably edit the code to assume it is >> always served from within couchdb and derive the database and the >> design document name from the document's URL. However this does make >> it harder to serve the app from another web server. What do you think >> about forcing the user to edit a system tiddler and rebuild the >> TiddlyWiki if they need to point it to another server? > > > A reasonable strategy might be to default to deriving the database and > design document from the URL, but to enable them to be overridden with > system tiddlers. The TiddlySpot saver does something similar composing the > upload URL from the wikiname, but allowing it to be overridden with the > $:/UploadURL system tiddler. > >> >> The simplest way to get things running for people with no expertise is >> probably to replicate the whole database from an empty instance.: >> >> 1. Create new database >> 2. Replicate from URL >> 3. Done >> >> Of course, this means I have to maintain an empty instance and >> regularly update it. Alternatively the push shell script in the github >> repo can be used. > > > Sounds good. For people without prior experience of CouchDB we'd need to > explain steps 1 and 2 in a little more detail I guess. > > I guess we'd also need to think about how an end user update their wiki to a > new version of the core? > > Best wishes > > Jeremy. > >> >> >> Regards, >> William >> >> -- >> You received this message because you are subscribed to the Google Groups >> "TiddlyWikiDev" 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/tiddlywikidev. >> For more options, visit https://groups.google.com/d/optout. > > > > > -- > Jeremy Ruston > mailto:[email protected] > > -- > You received this message because you are subscribed to a topic in the > Google Groups "TiddlyWikiDev" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tiddlywikidev/TSwYsd0ZxFw/unsubscribe. > To unsubscribe from this group and all its topics, 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/tiddlywikidev. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" 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/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
