aptivate/kashana

How to deploying Kashana with apache2 Webserver

Opened this issue · 1 comments

chavu commented

Kindly help me to deploy Kashana to production instance with Apache webserver. I managed to deploy a dev instance using the inbuilt webserver, but having challenges setting production instance. I've installed Kashana on a AWS cloud virtual machine. I copied the production.conf file in apache subfolder to /etc/apache2/sites-available and adjusted some paths there to match my Kashana root folder which is /opt/kashana/
I also allowed access to ports 80, 443 & 8000 in AWS for my server host.
When I try to access the host I get the error below:


Forbidden
You don't have permission to access / on this server.


We deploy Kashana to our production servers using fabric (and our DYE deployment tool, which Kashana should pull in as a dependency)

https://github.com/aptivate/kashana#deployment-with-fabric

This makes certain assumptions (amongst other things about where you want to install Kashana)

Are you able to run that fabric script from the Linux machine where you have cloned the Kashana GitHub repository?