Home
Name Modified Size InfoDownloads / Week
README 2014-09-22 4.9 kB
GNOSIS_cahier_des_charges.odt 2009-12-15 752.8 kB
Totals: 2 Items   757.7 kB 0
#############################################
#Quick jump in the application DEVELOPMENT :#
#############################################


#################################################
#Using ubuntu linux 12.04 LTS and apache 2.4.7 :#
#################################################


- install mysql-server: sudo apt-get install mysql-server
- install phpmyadmin : sudo apt-get install phpmyadmin
- repair some link : sudo ln -s /usr/share/phpmyadmin /var/www/phpmyadmin
- make a sourceforge account and demand to join the GNOSIS project
- go to your web root : cd /var/www/
(- install subversion and ssh if needed)
- checkout the gnosis project (obviously USERNAME with your sourceforge username) : svn checkout --username=USERNAME svn+ssh://USERNAME@svn.code.sf.net/p/gnosis/code/ gnosis
- make sure you have enabled appache module mod_rewrite : sudo a2enmod rewrite && sudo service apache2 restart
- make sure you have installed php5-mcrypt : sudo php5enmod mcrypt && sudo service apache2 restart
- make sure you have installed gd library : apt-get install php5-gd && sudo service apache2 restart
- use the provided conf file in documentation folder for /etc/apache2/sites-enabled/000-default.conf (or change AllowOverride to FileInfo for the directory /var/www/)
- change right to allow creation of captcha image : chmod 777 /var/www/gnosis/public/img/captcha/
- change right to allow cache : chmod 777 /var/www/gnosis/tmp/cache/
(- install postfix for sending mail or configure the MAIL section in application.ini)
- install Zend Eclipse PDT : http://www.zend.com/fr/company/community/pdt/downloads
- launch eclise as root and create a new php project; check "from existing source" and enter /var/www/gnosis in the directory box 

for working with the database it's usefull to :
- create the user "gnosis" with password "medic" with phpmyadmin; choose a local client in the option and check the case to make a database with the same name
- select the database gnosis and import the database structure using gnosis.sql in phpmyadmin
(- install mysql-workbench : http://dev.mysql.com/downloads/workbench)
(- import the gnosis_mysql_workbench.mwb file in mysql-workbench)

you should be able to see the website at this adress : http://127.0.0.15/
you can login as administrator with login administrator and password administrator
you can login as menmber with login gnosis and password gnosis
you can login as anonymous with captcha

######################################
#Using uindows 7 and wampserver 2.5: #
######################################

- install wampserver : http://www.wampserver.com/
(- configure wampserver for sending mail or configure the mail section in application.ini)
- start wampserver
- download tortoisesvn : http://tortoisesvn.net/downloads.html
- make a sourceforge account and demand to join the GNOSIS project
- go to www folder : C:\wamp\www
- right click -> SVN Checkout -> URL of repository -> svn+ssh://USERNAME@svn.code.sf.net/p/gnosis/code/
                              -> Checkout directory -> C:\wamp\www\gnosis
                              -> OK
                              -> Passeword -> PASSWORD
- enable mod_rewrite : wampserver->Apache->Apache modules->rewrite_module
- change right to allow creation of captcha image : go to C:\wamp\www\gnosis\public\img\ -> right click on captcha\ -> property -> security -> advanced -> selcect unknown acount -> modify authorization -> add file creation add file suppression -> OK -> apply
- change right to allow cache : go to C:\wamp\www\gnosis\tmp\ -> right click on cache\ -> property -> security -> advanced -> selcect unknown acount -> modify authorization -> add file creation add file suppression -> OK -> apply
- create the user "gnosis" with password "medic" with phpmyadmin; choose a local client in the option and check the case to make a database with the same name
- select the database gnosis and import the database structure using gnosis.sql in phpmyadmin
- go to C:\wamp\vhosts\ and copy C:\wamp\www\gnosis\documentation\GNOSIS\wamp.conf there
- edit C:\wamp\bin\apache\apache2.4.9\conf\httpd.conf and at the end of the file remove # in front of "IncludeOptional"  and add # in front of "Include"
- restart wampserver
- install Zend Eclipse PDT : http://www.zend.com/fr/company/community/pdt/downloads#Windows
- launch eclise and create a new php project; check "from existing source" and enter C:\wamp\www\gnosis in the directory box 

you should be able to see the website at this adress : http://127.0.0.1/
you should be able to see phpmyadmin at this adress : http://127.0.0.14/
you should be able to see the website at this adress : http://127.0.0.15/
you can login as administrator with login administrator and password administrator
you can login as menmber with login gnosis and password gnosis
you can login as anonymous with captcha

--
ask question at serckdavid@gmail.com


Source: README, updated 2014-09-22