Agus Makmun

I'm Programmer for Python & Django. I've made quite a few web apps, especially on Django.

Setup Django in apache2 Raspberry Pi

20 Apr 2016 » django, raspberry

Setup Django in apache2 Raspberry Pi. Example in this configuration for monitoring the server raspberry pi using

As following this configurations, how to setup it.

  • Edit in your:
  • and then, add this configuration:

<VirtualHost *:8001>
    DocumentRoot /var/www/pydash/
    WSGIDaemonProcess pydash display-name=%{GROUP} python-path=/var/www/pydash
    WSGIProcessGroup pydash
    WSGIScriptAlias / /var/www/pydash/pydash/
    Alias /static /var/www/pydash/static/
    Alias /media /var/www/pydash/media/
  • Now restart or reload your apache
service apache2 restart

And then, you can access from another client with IP:

Thanks to: Nabil Abdat