Hi Chris,

I would like to test.
I've been using TW for a while, but have  no knowledge of SQL and databases.
There are some very basic things I need to learn.

ALex

2009/6/4 tony <[email protected]>

>
> On May 23, 8:14 am, "[email protected]" <[email protected]> wrote:
> > If you are able to do some work with this and encounter bugs or have
> > suggestions, please post.
> >
> > [1]http://www.sqlalchemy.org/
>
> Hi,
>
> I post this to any who may have had difficulty with installation.
>
> Installation is not difficult but I don't know any better.
>
> +1 completed successful test under  winxp i686-pc with cygwin!
>
> Whew!
>
> My journey:
>
> Step 1: install mysql or sqlite since there is no package for cygwin
>
> compile from source sqlite-3.6.14.2
>
> ** important I tried compiling at the typical windows dir /cygdrive/c/
> Documents and Settings/<username>
> and kept getting configuration errors:
>
>  /bin/sh: /cygdrive/c/Documents: No such file or directory
>  configure: WARNING: `missing' script is too old or missing
>
> UGH!
> I could not install mysql so I tried sqlite instead, but the principal
> is the same with that crap spaces in the directory and probably an
> easy fix but took me forever to figure it out.
>
> instead move the sqlite-3.6.14.2 to /cygdrive/c
>
> and unpack tar zvxf sqlite-amalgamation-3.6.14.2.tar.gz
> do a ./configure; make; make install
>
> Step 2. Make sure you do an easy_install -U tiddlyweb to get the
> latest version per README
> This is TiddlyWeb 0.9.37
>
> Step 3. move the sql plugin into your store instance
>
> mywikistuff is my store instance
>
> ~/mywikistuff
>
> here's my store contents:
>
> $ ls
> migrate.py  migrate.pyc  sql.py  sql.pyc  store  test  tiddlyweb.log
> tiddlywebconfig.py  tiddlywebconfig.pyc
>
> I threw a lot of other crap in there because I didn't know what would
> make the sql plugin work.
>
> Then guess what, I couldn't find it in the README, but you must
> install sqlacademy!!! <smacks head>
>
> Step 4. easy_install sqlalchemy
>
> Step 5. Edit or make sure your tiddlyconfig file has some config.
>
> Here's my tiddlywebconfig (sorry about the comments, I tried so many
> things!!!):
>
> $ less tiddlywebconfig.py
> # A default config, make your own changes here.
> config = {
> #    'twanager_plugins': ['migrate'],
> #    'server_store': ['text', {'store_root': 'store'}],
> #    'target_store': ['sql', {'db_config': 'sqlite:///test.db'}],
>     # using sqlite
>  'server_store': ['sql', {'db_config': 'sqlite:///test.db'}],
>  # using mysql
>  #'server_store': ['sql',
>  #    {'db_config': 'mysql://localhost/tw?charset=utf8'}],
> }
>
> Step 6. start up the server with ye olde twanager server 127.0.0.1
> 8080 or whatever localhost
>
> Step 7. open up the browser and go to http://127.0.0.1:8080/
>
> Step 8. enjoy no bags but now a nice genuine test.db will be in your
> store and you completed the test!!
>
> Welcome to satori.
>
> Best,
> tony
> >
>


-- 
t: 0161 442 2202
m: 0781 372 50 17
skype: alexhough
delicious: alexhough

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWikiDev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to