hey, thanks for the quick responses! before i go any further on installing i need to think about tom evans advise:
> Incidentally, having your python code installed inside your htdocs is > a stunningly bad idea even if you can get it to work, as anyone who > can guess the path to a particular file would be able to read its > contents. but there is something i didn't understand: couldn't i go into the permissions and do something like "chmod u-xwr <file>" if i wouldn't want one reading 'a specific' file? i already found a host who's more python-friendly then the one i'm currently stuck with ("1&1" in germany). cheers florian On May 19, 2015, at 6:50 PM, Andrew Farrell <armorsmit...@gmail.com> wrote: > Hello Florian, > > If you are having trouble installing python without root permissions, you > should consider installing the miniconda distribution of python that is used > in the scientific computing community. Assuming you are on a linux server, > you can do this with > > wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh > chmod +x ./Miniconda-latest-Linux-x86_64.sh > ./Miniconda-latest-Linux-x86_64.sh -b > conda update conda > conda create --name try_django django > source activate try_django > > This will set you up with an isolated conda environment (similar to a > virtualenv environment) where you can install packages without touching > anyone else's packages. From there you can do > > django-admin.py startproject test_project > cd test_project > python manage.py migrate > python manage.py runserver 0.0.0.0:8000 > > And to get yourself set up with the django dev server running on top of > sqlite. > You can see the documentation for conda here. > > On Tue, May 19, 2015 at 3:04 AM, x <ung...@zetteeh.net> wrote: > hello hello, > > finally i was able to install a python instance on my shared-server. > it was also impossible to pip-install django. yeah. > > but right then - so close already - i got a permission problem again. > i couldn't figure out exactly what django-admin.py wants to do/execute and > why it's > not satisfied with my nice brand new local python 2.7.9 instance.. muhhuuu. > > this is the ssh prompt: > > > (uiserver):u74138225:~/django_build > django-admin.py startproject test > > --user- > > bash: > > /customers/homepages/45/d5012545412/htdocs/python27/bin/django-admin.py: > > Permission denied > > for any suggestions how to domesticate django on this shared server i'd be > very happy. > > thanks and all the best > florian > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/D96C8E64-18CA-4E2A-B9BD-D384AD563766%40zetteeh.net. > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CA%2By5TLYtn9e44mrY%3DrV_JXXXL2p0f0FuzEXcD2N3SQywG%2BWVcw%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/DB203D03-1922-4448-ACFB-855C4426C325%40zetteeh.net. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP using GPGMail