librelist archives

« back to archive

geonode on windows

geonode on windows

From:
Sorbi Ildefonso
Date:
2011-06-09 @ 03:34
Hello! Has anyone successfully compiled geonode on Windows?
The documentation only has it on either Ubuntu or CentOS.

Thanks!

Re: [geonode] geonode on windows

From:
Jeffrey Johnson
Date:
2011-06-09 @ 03:42
As far as I know it hasn't even really been attempted let alone
successfully ... it is however something we care about in the long
term. If you have the inclination to give it a try, I'm willing to
help you through the process in a VM.

Jeff

On Wed, Jun 8, 2011 at 11:34 PM, Sorbi Ildefonso
<sorbi.ildefonso@gmail.com> wrote:
> Hello! Has anyone successfully compiled geonode on Windows?
> The documentation only has it on either Ubuntu or CentOS.
>
> Thanks!
>

Re: [geonode] geonode on windows

From:
Sorbi Ildefonso
Date:
2011-06-09 @ 06:08
Hello!

Thank you for the quick response.

I'd like to try it out. Can you direct me where to begin?

On Thu, Jun 9, 2011 at 11:42 AM, Jeffrey Johnson <jjohnson@opengeo.org>wrote:

> As far as I know it hasn't even really been attempted let alone
> successfully ... it is however something we care about in the long
> term. If you have the inclination to give it a try, I'm willing to
> help you through the process in a VM.
>
> Jeff
>
> On Wed, Jun 8, 2011 at 11:34 PM, Sorbi Ildefonso
> <sorbi.ildefonso@gmail.com> wrote:
> > Hello! Has anyone successfully compiled geonode on Windows?
> > The documentation only has it on either Ubuntu or CentOS.
> >
> > Thanks!
> >
>

Re: [geonode] geonode on windows

From:
Spanring, Christian
Date:
2011-06-09 @ 16:44
I just tried a GeoNode build on Windows 7. Here are, in a nutshell, some 
notes and what I ran into:

To get started…


·         Install Visual C++ 2008 (2008!) compiler from 
http://www.microsoft.com/express/Downloads/

·         Install dependencies - python (setuptools, pywin32, psycopg2, 
PIL, reportlab), java, maven, postgresql, git, svn – according to install 
instructions for each package

·         Adjust your environment path. most install instructions have 
information on that. The only extra thing I had to do was to add git and 
svn ‘bin’ directories to my environment path.

·         …then follow the GeoNode install instructions

Here is what happened in my case:


·         'python bootstrap.py --no-site-packages' stopped with pip-error 
(http://pastebin.com/yXDY5vnC), but GeoNode’s virtualenv seemed to be 
installed and

·         activating it ('Scripts\activate.bat') and installing 
py-base-libs.txt requirements manually ('pip install -r 
shared\py-base-libs.txt') worked fine

·         GeoServer build failed (http://pastebin.com/tNJdxa3w)

·         uncommented setup_geoserver and setup_geonetwork in pavement.py 
to see if the Django part would work

·         at some point during ‘paver build’, ‘django-admin.py’ opens in a
texteditor, probably because it’s called without the ‘python ‘ prefix and 
my Windows doesn’t execute .py-files by default, but opens them in an 
editor. So I guess the django-admin.py commands were not executed.

·         ‘(geonode) C:\dev\geonode\geonode>python Scripts\django-admin.py
createsuperuser --settings=geonode.settings’ results in 'unknown command: 
createsuperuser' error. I think my virtualenv path settings are messed up.
django-admin doesn’t find geonode.settings (had similar issues this 
morning with a Pinax project in another virtualenv). Any insights on that 
are highly appreciated!

Christian

From: geonode@librelist.com [mailto:geonode@librelist.com] On Behalf Of 
Sorbi Ildefonso
Sent: Thursday, June 09, 2011 2:08 AM
To: geonode@librelist.com
Subject: Re: [geonode] geonode on windows

Hello!

Thank you for the quick response.

I'd like to try it out. Can you direct me where to begin?

On Thu, Jun 9, 2011 at 11:42 AM, Jeffrey Johnson 
<jjohnson@opengeo.org<mailto:jjohnson@opengeo.org>> wrote:
As far as I know it hasn't even really been attempted let alone
successfully ... it is however something we care about in the long
term. If you have the inclination to give it a try, I'm willing to
help you through the process in a VM.

Jeff

On Wed, Jun 8, 2011 at 11:34 PM, Sorbi Ildefonso
<sorbi.ildefonso@gmail.com<mailto:sorbi.ildefonso@gmail.com>> wrote:
> Hello! Has anyone successfully compiled geonode on Windows?
> The documentation only has it on either Ubuntu or CentOS.
>
> Thanks!
>


________________________________
Please be advised that the Massachusetts Secretary of State considers 
e-mail to be a public record, and therefore subject to the Massachusetts 
Public Records Law, M.G.L. c. 66 § 10.

Re: [geonode] geonode on windows

From:
David Winslow
Date:
2011-06-09 @ 12:16
I ran some moderately successful tests of GeoNode on Windows sometime before
the 1.0 release.  I don't still have notes on that deployment, but things
have changed around a bit so I'm not sure how much they would help you
anyway.

The basic process is to install Python, Apache, Java, Tomcat, etc. for
Windows and work through the usual deployment process.  I would just pick
one of the existing sets of instructions (Ubuntu) and work through it; if
you run into trouble or errors you don't understand feel free to ask on the
list.  In general, expect to do a lot of tracking down of installers for
Python modules that require native code (such as ReportLab and PIL) and
adjust a lot of paths to configuration files (like /etc/apache/httpd.conf to
%PROGRAM FILES%/Apache 2.2/httpd.conf.)

If you put together better notes than I made when I did it, they would make
a nice addition to the deployment documentation :)

--
David Winslow
OpenGeo - http://opengeo.org/

On Thu, Jun 9, 2011 at 2:08 AM, Sorbi Ildefonso
<sorbi.ildefonso@gmail.com>wrote:

> Hello!
>
> Thank you for the quick response.
>
> I'd like to try it out. Can you direct me where to begin?
>
> On Thu, Jun 9, 2011 at 11:42 AM, Jeffrey Johnson <jjohnson@opengeo.org>wrote:
>
>> As far as I know it hasn't even really been attempted let alone
>> successfully ... it is however something we care about in the long
>> term. If you have the inclination to give it a try, I'm willing to
>> help you through the process in a VM.
>>
>> Jeff
>>
>> On Wed, Jun 8, 2011 at 11:34 PM, Sorbi Ildefonso
>> <sorbi.ildefonso@gmail.com> wrote:
>> > Hello! Has anyone successfully compiled geonode on Windows?
>> > The documentation only has it on either Ubuntu or CentOS.
>> >
>> > Thanks!
>> >
>>
>
>