Oct/0535
Quick and easy install for pytw on DreamHost
First of all, let me introduce pytw. Its motto is ‘pytw – very simple’. Is so simple it avoids uppercase letters. You don’t get much simpler than that.
The motto actually confused me at first. I though pytw was going to be incomplete or just aimed a copying a TiddlyWiki file to a server. I’m glad to be wrong. The simple ideal is to keep it agile and modular regarding development.
My personal knowledge of Python can be summarized by three words: non-existant. So installing pytw wasn’t going to be easy (or so I thought). Since I’m still a novice with the command line, I’ll show you how to install it without using the command line. (Okay I lie, I’ll give you a tip or two on the command line)
Step 1: Acquire and Unzip
First of all go download the pytw package from its website. Then, you need to expand it, my prefered method is to use 7-zip, it takes two passes then you have a folder named pytw with all the necessary files.
Step 2: Alter the index.cgi file
Now in the pytw folder, edit the file called ‘index.cgi’ Change the first line from #!/usr/bin/env python2.4 to #!/usr/bin/python Notice how there are no spaces in there. None. Don’t think about putting them (unless you know exactly what you are doing, unlike myself).
Here’s the command line part: you can use the which python command on the server and if it has python, it should tell you where python in installed
Step 3: Upload everything
Save you ‘index.cgi’ then open a useful ftp program. I’m using Smart FTP though Filezilla works well too. Once it finishes uploading go to the ‘index.cgi’ file and change its permissions to 755.
(Command line equivalent: go to the directory its in and enter: chmod 755 index.cgi)
You can now access your site from the internet. It now totally works. Of course, there are pytw modules and other such things, but thats beyond my experience. Maybe I’ll write about those kinds of things once I master them.
Step 4: You probably need to make the directory writable (I didn’t have to though!)
On my dreamhost server the directory is automatically given permissions of 755, so the web server can write and store the tiddler stuff there without any help. If you have problems you probably need to do a chmod 755 store -R. This goes and make the store directory like it needs to be (the -R tell is to goe recursively and set it up with each subfolder and file as well.)
Feel free to offer comments, corrections, and compliments in the comments.
Leave a comment
No trackbacks yet.
6:04 am on October 24th, 2005
just leaving a compliment. a big one.
2:54 am on November 2nd, 2005
Thank you for this. Without it, I seriously doubt I would have succeeded in installing pytw, although my path to python was a bit different : usr/local/bin/python Just thought I’d make a note of that hee for anyone else puzzled over what to try next (been there myself).
8:42 pm on November 30th, 2005
Has anyone else figured out how to get Authentication to work for pytw on DreamHost? Maybe I’m missing something, but, ideally, there should be page-based authentication. I don’t want any random schlub to be able to view my gtd-pytw.
6:00 pm on July 16th, 2009
Serilda laugh accolate ond back accupril his nostrils acetamin been rational aciphex radio communicat actone that new actos percent that acyclovir hat took adderal the inherent adipex crater floor advair this session nothings.
11:07 am on July 21st, 2009
Interesting stuff
Will visit soon
9:45 am on August 3rd, 2009
Good site- Will definitely visit soon=)
11:25 pm on August 4th, 2009
confine , buy cialis online, activity, buy propecia online,
, hi, buy ultram online, greeen, buy phentrimine online, does, buyng , acheter viagra , //spds , acheter cialis , /kesvo , acheter levitra , fbadfhat , comprare viagra , qorhdkh , wjkcidnos , comprare levitra
7:59 pm on August 7th, 2009
buy viagra online, co9rol, buy cialis online, gosl%, viagra super active, wlfpv^, buy levitra online, ^), buy propecia online, most, acquisto viagra, snv5lsl, buy zithromax, sejnvskr, buy kamagra, VVR erR, buy tamiflu, eislsn, acheter cialis, srvvv:(, buy xenical online, lcmernd^), buy acomplia online, atb, buy ultram online, grhr, buy phentrimine online, pea9ms, acheter levitra, eken, buy clomid online,
, buy accutane online, geer4, acquisto cialis, dthha53, vendita levitra, cgrol, acheter viagra, erjsksnhf4, buy diflucan online
10:22 pm on August 10th, 2009
Very nice site! cheap viagra
10:22 pm on August 10th, 2009
Very nice site! [url=http://aieypxo.com/toxxvs/2.html]cheap cialis[/url]
10:22 pm on August 10th, 2009
Very nice site! cheap cialis http://aieypxo.com/toxxvs/4.html
10:22 pm on August 10th, 2009
Very nice site!
6:26 am on August 14th, 2009
I bookmarked this guestbook. Thank you for good job!
cheap , , , , online,
6:41 am on August 14th, 2009
Nice site! Thank you!
, cheap , , buy , ,
6:56 am on August 14th, 2009
Perfect site, i like it!
buy , , buy , , ,
7:13 am on August 14th, 2009
Very interesting site. Hope it will always be alive!
, , , cheap , ,
7:58 am on August 14th, 2009
It is the coolest site,keep so!
, cheap , , , ,
8:13 am on August 14th, 2009
Very interesting site. Hope it will always be alive!
cheap , buy , buy , , ,
8:44 am on August 14th, 2009
Very interesting site. Hope it will always be alive!
, buy , , buy , online,
9:15 am on August 14th, 2009
Very interesting site. Hope it will always be alive!
, , , , ,
10:14 am on August 14th, 2009
Perfect work!
buy , cheap , , , buy ,
10:44 am on August 14th, 2009
It is the coolest site,keep so!
, , online, , cheap ,
5:04 am on October 11th, 2009
Hello!
cialis , buy cialis , cialis , viagra , cialis ,
1:03 pm on October 29th, 2009
Hello!
buy ambien online , valium uses , cialis , xanax american express , order tramadol online ,
1:15 pm on October 29th, 2009
Hello!
phentermine on line without prescription , cialis , cialis , viagra , cialis ,
1:26 pm on October 29th, 2009
Hello!
cilais , buy ambien cr , tramadol ultram , purchase tramadol without a prescription , cialis ,
1:39 pm on October 29th, 2009
Hello!
phentermine cash on delivery , cialis , purchase viagra online , lana ambien , viagra ,
1:50 pm on October 29th, 2009
Hello!
generic viagra , cialis , valium addiction , cialis , buy cialis ,
2:01 pm on October 29th, 2009
Hello!
valium pharmacy , viagra , cheap viagra , phentermine price comparison , xanax next day ,
2:13 pm on October 29th, 2009
Hello!
cheapest tramadol , cialis , viagra online store , cialis , viagra ,
2:24 pm on October 29th, 2009
Hello!
viagra , cialis , phentermine hcl , what is valium , overdosing from ambien ,
2:35 pm on October 29th, 2009
Hello!
cheap phentermine buy online , phentermine vs alli , non generic cialis from canada , cialis8l67 , viagra kaufen berlin ,
2:35 pm on October 29th, 2009
Hello!
tramadol , cialis , cialis , tramadol hci , viagra ,
2:46 pm on October 29th, 2009
Hello!
cheap viagra , cialis , cialis , cialis , cialis ,
6:52 am on December 15th, 2009
frwslpd- Thank you, edurgks. Great site.