Set proxy
Add these lines of codes in the wsgi file.
os.environ['http_proxy']='http://proxy.iiit.ac.in:8080'
os.environ['https_proxy']='http://proxy.iiit.ac.in:8080'
Give permissions
WARNING Temporary Solution
Give permissions for the root directory.
Some files, specifically /proc would fail. This should be fine in general.
Set the HOME env variable
The user configured for the Apache2 server www-data with home folder as /var/www. This is the default configuration. But it has no HOME env variable. Add this line of code to set the HOME env variable in wsgi file.
os.environ['HOME']='/var/www'
Can use sounak98/literate-tools for now.
Change these lines in elisp/publish.el
(setq load-path
(append
(list "~/emacs/lisp/org-8.2.10/lisp"
"~/emacs/lisp/org-8.2.10/contrib/lisp")
load-path))
to
(setq load-path
(append
(list (concat (getenv "HOME") "/emacs/lisp/org-8.2.10/lisp")
(concat (getenv "HOME") "/emacs/lisp/org-8.2.10/contrib/lisp"))
load-path))
Please make the changes in literate-tools @travula
Set proxy
Add these lines of codes in the
wsgifile.Give permissions
Give permissions for the root directory.
Some files, specifically
/procwould fail. This should be fine in general.Set the
HOMEenv variableThe user configured for the Apache2 server
www-datawith home folder as/var/www. This is the default configuration. But it has noHOMEenv variable. Add this line of code to set theHOMEenv variable inwsgifile.Changes in
literate-toolsChange these lines in
elisp/publish.elto
Please make the changes in
literate-tools@travula