Hi MH,

what flavour of Linux you are using. if it is centos/redhat you can use 
below steps.

   $sudo yum install httpd24-devel.x86_64 gcc git
     $sudo python3.5 -m pip install  mod-wsgi


once installed you need to add site configuration and permissions to your 
Django code.

 $ cd ~/django_app
 $python manage.py makemigrations
 $python manage.py migrate
 Note: if you get any errors remove  "db.sqlite3" file and execute the above 2 
commands
 $python manage.py collectstatic
 $sudo chown :www-data db.sqlite3
 $sudo service apache2 restart


If packages are not available you have to try the offline installation. and 
you need to install dependencies manually.

ping me if you need more help(https://twitter.com/vullinitish)



On Tuesday, 3 March 2020 01:34:23 UTC+5:30, MH wrote:
>
> Hi there
>
> I am rather a newbie, but after some problems I got django installed on my 
> Synology Diskstation. So, I ignored many other problems and am very happy 
> that I built my very first, very simple app. And now I would like to move 
> it from the development stage to the production stage. Obviously I should 
> make a change to a distinct webserver. Synology offers nginx and apache 
> 2.4. I installed both. And now I do not really know how to proceed. Out 
> there, there are many instructions to use something called mod-wsgi. But I 
> cannot install this from the package center of the Diskstation.
>
> I also tried to get opkg working. And this did not turn out so well, too. 
> Most packages return an error, when I try to install something. Before this 
> gets too elusive, I would ask you for guidance and then I can provide you 
> with the following error messages.
>
> Best regards
> MH
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/073b40dd-1379-405e-8c44-b582b72173ac%40googlegroups.com.

Reply via email to