Ticket #1802 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

Investigate CKAN deployment on Windows

Reported by: dread Owned by: dread
Priority: critical Milestone: ckan-sprint-2012-03-05
Component: ckan Keywords: [5d] [a:2.25d]
Cc: rgrp Repository: ckan
Theme: none

Description

See how possible it is to run CKAN on a Windows server.

Plan:

  • Get CKAN code and dependencies installed on Windows
    • ideally as similar to standard package install as possible
    • virtualenv/pip should work
    • try Cygwin to help
    • SOLR and Postgres could potentially run on other servers if necessary.
  • Try to run on Apache
  • See if there are any issues

Change History

comment:1 Changed 2 years ago by dread

Current progress - I have got most of the dependencies installed - many by pip, but some I had to revert to Windows msi installers. Pad with details here: http://ckan.okfnpad.org/windows. So far done: 1 day.

comment:2 Changed 2 years ago by dread

I've achieved CKAN running with paster and without SOLR (using simple_search).

Running locally on an old XP machine, performance seems fine - no noticeable issues.

I installed most things into a pyenv using pip. pyutilib, psycopg2 and lxml were slightly problematic, but I have workarounds.

I had problems pip and svn and the Cygwin window, so reverted to DOS prompt. I still had the Cygwin tools installed though, so next step is to try it without these at all - they are a big overhead.

comment:3 Changed 2 years ago by dread

  • Keywords [5d] added

Spent so far 1.75d

comment:4 Changed 2 years ago by dread

  • Keywords [a:2.25d] added
  • Status changed from new to closed
  • Resolution set to fixed
  • Refined install without using Cygwin - this seems a little easier.
  • Added example Apache & modwsgi deployment.
  • Documented extensively at: http://wiki.ckan.org/CKAN_install_on_Windows
  • Have not tried SOLR on Windows - I'm not convinced this is high priority, and normal install should be fine as it is so separate from CKAN.

Spent another 0.5d. Total spent 2.25d

Note: See TracTickets for help on using tickets.