Daverck - 2013-08-16

Quick jump in the application DEVELOPMENT :

Using ubuntu linux 12.04 LTS :

  • install mysql-server: apt-get install mysql-server
  • install phpmyadmin : 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)
  • 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/
  • 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 an admin with "administrator" and the password "administrator"
you can login as an anonymous member with the captcha
you can login as a member with "gnosis" and the password "gnosis"

--
ask question at serckdavid@gmail.com

 

Last edit: Daverck 2014-09-10