Skip to content

Instantly share code, notes, and snippets.

@vaibhaw
Created October 5, 2016 00:45
Show Gist options
  • Save vaibhaw/42222dc9ca6ca3e1e408e81c1fc6a0a6 to your computer and use it in GitHub Desktop.
Save vaibhaw/42222dc9ca6ca3e1e408e81c1fc6a0a6 to your computer and use it in GitHub Desktop.
Setup Vatic, Turkic

Updated Vatic repo: https://github.com/johndoherty/vatic

put following in /etc/apache2/sites-enabled/000-default.conf

WSGIDaemonProcess www-data
WSGIProcessGroup www-data
<VirtualHost *:80>
        ServerName aws_host_ip
        # ServerAdmin webmaster@localhost
        DocumentRoot /home/ubuntu/vatic/public
        <Directory />
            Order allow,deny
            Allow from all
            # New directive needed in Apache 2.4.3: 
            Require all granted
        </Directory>
        WSGIScriptAlias /server /home/ubuntu/vatic/server.py

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment