[GeoNode-devel] Setting up Geosites with custom Geonode as master

Simone Dalmasso simone.dalmasso at gmail.com
Wed May 18 01:51:10 PDT 2016


Well, there should be just one geonode. if your customisations are on a
geonode fork, then the answer is yes. You have to install it systemwide or
in a virtualenv and then enable it's geosites.

2016-05-18 10:45 GMT+02:00 Carlo Santos <santos.carlo.a at gmail.com>:

> So do I just replace/overwrite the installed geonode with our customized
> one?
>
> On Wed, May 18, 2016 at 4:43 PM, Simone Dalmasso <
> simone.dalmasso at gmail.com> wrote:
>
>> They are in geonode and geonode is installed with pip so it is available
>> to the downstream sites.
>>
>> 2016-05-18 10:41 GMT+02:00 Carlo Santos <santos.carlo.a at gmail.com>:
>>
>>> But where are the other apps, and their corresponding views, models, and
>>> other stuff?
>>>
>>> On Wed, May 18, 2016 at 4:38 PM, Simone Dalmasso <
>>> simone.dalmasso at gmail.com> wrote:
>>>
>>>> No, that one looks a bit old.
>>>>
>>>> this one is a good example https://github.com/terranodo/landscapeportal
>>>> <https://github.com/terranodo/landscapeportal>
>>>>
>>>> 2016-05-18 10:30 GMT+02:00 Carlo Santos <santos.carlo.a at gmail.com>:
>>>>
>>>>> Is this an accurate example of the directory setup?
>>>>> https://github.com/cspanring/geonode/tree/geosites
>>>>>
>>>>> On Wed, May 18, 2016 at 4:15 PM, Carlo Santos <
>>>>> santos.carlo.a at gmail.com> wrote:
>>>>>
>>>>>> Got it. Thank you very much!
>>>>>>
>>>>>> On Wed, May 18, 2016 at 4:12 PM, Simone Dalmasso <
>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>
>>>>>>> it will, you will still issue the commands from the geonode main
>>>>>>> folder
>>>>>>>
>>>>>>> 2016-05-18 10:09 GMT+02:00 Carlo Santos <santos.carlo.a at gmail.com>:
>>>>>>>
>>>>>>>> Will using paver still work?
>>>>>>>>
>>>>>>>> On Wed, May 18, 2016 at 3:59 PM, Simone Dalmasso <
>>>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>>>
>>>>>>>>> No you can use your custom geonode, if you customised it by
>>>>>>>>> forking the geonode code then the only quick way would be to use it as a
>>>>>>>>> base for all sites. Otherwise you have to extract the customisations and
>>>>>>>>> port them in a geonode-project that you will use a s a site-specific folder.
>>>>>>>>>
>>>>>>>>> 2016-05-18 9:57 GMT+02:00 Carlo Santos <santos.carlo.a at gmail.com>:
>>>>>>>>>
>>>>>>>>>> Hi Simone,
>>>>>>>>>>
>>>>>>>>>> Thank you very much for the prompt response. Do we just put our
>>>>>>>>>> custom Geonode inside this template folder, including the additional apps
>>>>>>>>>> we created? Do we just put our custom Geonode under the master directory so
>>>>>>>>>> it will be used as the master website? Do I still have to install the
>>>>>>>>>> Geonode pip package?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Wed, May 18, 2016 at 3:28 PM, Simone Dalmasso <
>>>>>>>>>> simone.dalmasso at gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Carlos,
>>>>>>>>>>>
>>>>>>>>>>> you can follow the docs here
>>>>>>>>>>> https://github.com/GeoNode/geonode/tree/master/geonode/contrib/geosites
>>>>>>>>>>> .
>>>>>>>>>>> Basically you have to create a folder from this template
>>>>>>>>>>> https://github.com/GeoNode/geonode/tree/master/geonode/contrib/geosites/site_template for
>>>>>>>>>>> each geosite and assign it to the correct site. There is a command that
>>>>>>>>>>> should help you in creating both the entries in the db and the skeleton of
>>>>>>>>>>> the site folder
>>>>>>>>>>> https://github.com/GeoNode/geonode/blob/master/geonode/contrib/geosites/management/commands/addsite.py
>>>>>>>>>>> .
>>>>>>>>>>>
>>>>>>>>>>> Once you enable geosites, users and resources will belong to the
>>>>>>>>>>> site where they have been created or they have been assigned from the admin
>>>>>>>>>>> panel.
>>>>>>>>>>>
>>>>>>>>>>> 2016-05-18 9:03 GMT+02:00 Carlo Santos <santos.carlo.a at gmail.com
>>>>>>>>>>> >:
>>>>>>>>>>>
>>>>>>>>>>>> Hi all,
>>>>>>>>>>>>
>>>>>>>>>>>> I am Carlo Santos from UP-PhilLiDAR1 project and we're in the
>>>>>>>>>>>> process of developing our custom version of Geonode. We're also looking
>>>>>>>>>>>> into using Geosites.
>>>>>>>>>>>>
>>>>>>>>>>>> My question is, how do we setup Geosites using our custom
>>>>>>>>>>>> Geonode (we call it LiPAD)? We followed these instructions
>>>>>>>>>>>> <http://docs.geonode.org/en/master/tutorials/devel/devel_env/index.html>
>>>>>>>>>>>> in setting up our custom Geonode. From this point, what steps do we have to
>>>>>>>>>>>> take to utilize Geosites?
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you very much.
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> geonode-devel mailing list
>>>>>>>>>>>> geonode-devel at lists.osgeo.org
>>>>>>>>>>>> http://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Simone
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Simone
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Simone
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Simone
>>>>
>>>
>>>
>>
>>
>> --
>> Simone
>>
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20160518/99515039/attachment-0001.html>


More information about the geonode-devel mailing list