change to readme

master
Castro0o 6 years ago
parent 5b6018dcf8
commit e21f8b0743

@ -31,9 +31,11 @@ chmod +x cgi-bin/
## update CGI
BEcuase the CGI folder happens to be in a a different location from the HYPE folder, we need to update its files after each git pull with:
`ln -sf cgi-bin/* /var/www/cgi-bin/hype/`
`ln -sf cgi-bin/* /path/to/hype/dir/in/cgi-bin`
you be in the HYPe folder and create the file links inside the webserver's cgi-bin, in my case `/var/www/cgi-bin/hype/`
xpub tools cgi-bin: /var/www/tools.xpub.nl/cgi-bin/hybrideditor
you be in the HYPe folder and create the file links inside the webserver's cgi-bin, in my case `/path/to/hype/dir/in/cgi-bin`
## License

@ -113,8 +113,9 @@ if method == "POST":
print
#p = subprocess.check_output('echo "{2}"|pandoc --from {0} --to {1} '.format(from_format, to_format, '#foo'), shell=True, stderr=subprocess.STDOUT)
#print 'to_format', to_format
# print 'to_format', to_format
if to_format == 'icml': # icml needs solo flag: -s
#print 'ICML:', to_format
cmd = "{} --from {} --to {} -s".format(PANDOC, from_format, to_format)
else:
cmd = "{} --from {} --to {}".format(PANDOC, from_format, to_format)

Loading…
Cancel
Save