Windows Port
Forum » Wikidot version 1 / Talk » Windows Port
started by: Jerry SchneiderJerry Schneider
on: 1202949560|%e %b %Y, %H:%M %Z|agohover
number of posts: 6
rss icon RSS: new posts
summary:
I'm porting Wikidot V1 to WAPP (windows apache postgre php) on WinXP sp2 and will post configs and lessons learned.
Windows Port
Jerry SchneiderJerry Schneider 1202949560|%e %b %Y, %H:%M %Z|agohover

I saw somewhere else that a request to run Wikidot under windoze was made, but that this isn't currently supported or documented.

After browsing the source, I've got a pretty good understanding of Wikidot V1 operation, so I'll try to set it up under WinXP SP2 (and maybe Vista after SP1 is available). I think a lot of the effort is just learning where and when to download precompiled binary files and when to compile from source. The configuration of each component is also likely to be different under XP, so I'm keeping notes on what works and what doesn't while I juggle the components to get them working on Wikidot V1. It looks like V2 requires more config and extensions, so I'm concentrating on V1 first.

If anyone else is working on this, we should share notes so we don't both go down each fruitless path of implementation and testing.

I have a regular day job, so progress will be as I find time in the evenings and on weekends. If someone else has more time to devote, I would be glad to take on small tasks as needed.

I'm in Boulder, CO US about -7 hours UTC.

Best
Jerry Schneider

unfold Windows Port by Jerry SchneiderJerry Schneider, 1202949560|%e %b %Y, %H:%M %Z|agohover
Re: Windows Port
atglabsatglabs 1202949921|%e %b %Y, %H:%M %Z|agohover

Just a quick note — I posted the above forum topic about porting to Windows under an account used for one of my wikidot sites. I would prefer to keep dev work under my 'atglabs' account. Contact info is the same, but email doesn't have to go thru a proxy and forwarder like the other account does.

Jerry Schneider

last edited on 1202950009|%e %b %Y, %H:%M %Z|agohover by atglabs + show more
unfold Re: Windows Port by atglabsatglabs, 1202949921|%e %b %Y, %H:%M %Z|agohover
Re: Windows Port
Ed JohnsonEd Johnson 1202999714|%e %b %Y, %H:%M %Z|agohover

Hi Jerry,

I'd also be very interested in finding a way to run Wikidot in a WAMP environment. As you may have read on Wikidot.org, I've been struggling trying to get things working on a Ubuntu server and am not quite there yet.

I'm curious which pieces (libraries?) you've identified that need to be recompiled for use on a Windows Apache server? I've been spending all of my time with my Ubuntu server and haven't tried a WAMP install. Although I'm much more comfortable on a Windows system, I figured it would be better to get it running in the environment it was originally designed before trying to get it to run in Windows!

Good luck with your efforts and keep us posted.
Thanks,
-Ed

unfold Re: Windows Port by Ed JohnsonEd Johnson, 1202999714|%e %b %Y, %H:%M %Z|agohover
Re: Windows Port
michal frackowiakmichal frackowiak 1203074292|%e %b %Y, %H:%M %Z|agohover

Needless to say, this would be just great!

I suppose things to fix would include:

  • Fix directory handling so that it could work with windows-style paths (C:\www\wikidot\… instead of /var/www/wikidot…) - currently for sure include dirs is broken and in many places DIRECTORY_SPEARATOR constant should be used. In Wikidot2 we are using a bit different approach to handling directories and I hope it will work.
  • exec() : in a few places we are calling external processes just by running the exec() function. I am not sure how this behaves in Windows. exec() is mostly called when converting images (tools from ImageMagick) and calling LaTeX (for producing equations)
  • dependencies — this should be easier I hope. PECL is also available on Windows.

There is also a workeround for the whole process: use a virtual machine inside Windows. We have just created a universal VMWare-based system that one can use to develop both Wikidot v1 and Wikidot v2! I just need to upload it somewhere. It is based on Ununtu Joes Alpha and works really great. More info will come later today or early next week.

Michal

unfold Re: Windows Port by michal frackowiakmichal frackowiak, 1203074292|%e %b %Y, %H:%M %Z|agohover
Re: Windows Port
Ed JohnsonEd Johnson 1203095439|%e %b %Y, %H:%M %Z|agohover

Michal,

Will this system you've developed run with the free VMWare player (http://www.vmware.com/products/player/) or will it require us to buy another VMWare product to use it?

Thanks,
Ed

unfold Re: Windows Port by Ed JohnsonEd Johnson, 1203095439|%e %b %Y, %H:%M %Z|agohover
Re: Windows Port
michal frackowiakmichal frackowiak 1203324613|%e %b %Y, %H:%M %Z|agohover

Yes, of course it runs under the free VMWare Player. The only problem right now is to upload the 1gb image to our server. There are also a few improvements we would like to make but I think I will upload the image later today.

It is configured to be "plug-and-play", I believe it will be a great help to all Wikidot developers and possibly those who just want to try the software.

unfold Re: Windows Port by michal frackowiakmichal frackowiak, 1203324613|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License