[GeoNode-devel] I destroyed GeoNode 2.8 Django installation: How to re-install

Michael Härtel haerta at haerta.de
Thu Mar 21 06:34:53 PDT 2019


Hello Rizky Maulana Nugraha,

sorry, I had installed GeoNode using the apt-get command. is there anything I can do to reinstall Django without having to overwrite any settings file?

regards,

Michael
> On 21 March 2019 at 09:09 Rizky Maulana Nugraha <rizky at kartoza.com> wrote:
>
>
> Hi Michael,
>
> I assume you are working with development workflow, so you have the codebase.
> In your codebase, there should be a file called “setup.py” and “requirements.txt”.
> The requirements file contains python dependencies. You can install just the dependencies with:
>
> pip install -r requirements.txt
>
>
> Or, other options, you could include the codebase to your python library like this: (executed from the same folder as setup.py)
>
> pip install -e .
>
> This will install the codebase, and the dependencies in requirements.txt
>
> Hope this helps
>
> Regards,
> --
> Rizky Maulana Nugraha
> Senior Software Engineer
> Kartoza
> rizky at kartoza.com
>
>
>
>
>
> > On 21 Mar 2019, at 07.16, Michael Härtel <haerta at haerta.de> wrote:
> >
> > Hello list,
> >
> > I destroyed my Django installation on my GeoNode 2.8 server when trying to add some python packages to build up my dev environment.
> >
> > Is there a way to re-install only the python setup without having to re-install the rest for GeoNode 2.8?
> >
> > Thank you very much,
> >
> > Michael
> >
> > _______________________________________________
> > geonode-devel mailing list
> > geonode-devel at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/geonode-devel
>


More information about the geonode-devel mailing list