← Back to team overview

team4alfanous team mailing list archive

[Branch ~team4alfanous/alfanous/alfanous-git] Rev 370: reveal all the commands enrolled in the installation of JOS #92

 

------------------------------------------------------------
revno: 370
committer: Assem Chelli <assem.ch@xxxxxxxxx>
timestamp: Sat 2012-10-06 22:40:45 +0100
message:
  reveal all the commands enrolled in the installation of JOS #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-04 19:20:58 +0000
+++ Makefile	2012-10-06 21:40:45 +0000
@@ -390,18 +390,17 @@
 install_json2: 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 ./interfaces/web/ ;  cp  htaccess $(WEB_INSTALL_PATH)".htaccess"
-	#cd ./interfaces/web/ ;  vi alfanous ; cp alfanous /etc/apache2/sites-available/ #configure well this file 
-
+	cd ./interfaces/web/ ;  vi alfanous ; cp alfanous /etc/apache2/sites-available/ #configure well this file 
 	chmod +x $(WEB_CGI_INSTALL_PATH)alfanous_json2.py 
 	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"	
    
-	#a2dissite alfanous
-	#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
+	a2dissite alfanous
+	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
 
 ##  don't use it!!
 install_wui: #install_json2