team4alfanous team mailing list archive
-
team4alfanous team
-
Mailing list archive
-
Message #00185
[Branch ~team4alfanous/alfanous/alfanous-git] Rev 372: let the makefile install_jos2 target make a folder .alfanous with permission 777 #92
------------------------------------------------------------
revno: 372
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Sat 2012-10-06 23:38:55 +0100
message:
let the makefile install_jos2 target make a folder .alfanous with permission 777 #92
modified:
Makefile
--
lp:alfanous
https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git
Your team Alfanous team is subscribed to branch lp:alfanous.
To unsubscribe from this branch go to https://code.launchpad.net/~team4alfanous/alfanous/alfanous-git/+edit-subscription
=== modified file 'Makefile'
--- Makefile 2012-10-06 21:45:07 +0000
+++ Makefile 2012-10-06 22:38:55 +0000
@@ -388,10 +388,11 @@
## don't use it!!
install_jos2: install_api #install_index install_config
- cd $(API_PATH)alfanous-cgi ; mkdir -p $(WEB_CGI_INSTALL_PATH); cp -r alfanous_json2.py $(WEB_CGI_INSTALL_PATH);
+ cd $(API_PATH)alfanous-cgi ; mkdir -p $(WEB_CGI_INSTALL_PATH).alfanous/; cp -r alfanous_json2.py $(WEB_CGI_INSTALL_PATH);
#cd ./interfaces/web/ ; cp htaccess $(WEB_INSTALL_PATH)".htaccess"
cd ./interfaces/web/ ; vi alfanous ; cp alfanous /etc/apache2/sites-available/ #configure well this file
- chmod +x $(WEB_CGI_INSTALL_PATH)alfanous_json2.py
+ chmod +x $(WEB_CGI_INSTALL_PATH)alfanous_json2.py
+ chmod -R 777 $(WEB_CGI_INSTALL_PATH).alfanous/
sed -i 's/\"cgitb.enable\(\)\"/cgitb.enable\(\)/g' "$(WEB_CGI_INSTALL_PATH)alfanous_json2.py"
sed -i 's/\.\/indexes/\/usr\/share\/alfanous\-indexes/g' "$(WEB_CGI_INSTALL_PATH)alfanous_json2.py"
sed -i 's/\.\/configs/\/usr\/share\/alfanous\-config/g' "$(WEB_CGI_INSTALL_PATH)alfanous_json2.py"
@@ -400,7 +401,7 @@
a2ensite alfanous
service apache2 reload
echo "127.0.0.1 alfanous.local" >> /etc/hosts ## must check existance first!!
- xdg-open http://alfanous.local/ & ##launch default browser for test
+ xdg-open http://alfanous.local/cgi-bin/alfanous_json2.py & ##launch default browser for test
## don't use it!!
install_wui: #install_jos2