GemsTracker

GEneric Medical Survey Tracker

User Tools

Site Tools


userzone:quickstart

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
userzone:quickstart [2013/02/06 15:17]
menno [Installation]
userzone:quickstart [2020/03/12 12:06] (current)
Line 5: Line 5:
 ===== Requirements ===== ===== Requirements =====
  
-  * [[http://​framework.zend.com/​download/​latest|Zend Framework]]+  * [[http://​framework.zend.com/​downloads/latest#ZF1|Zend Framework ​1.x (not 2.x)]]
     * Zend Framework ​     * Zend Framework ​
     * Zend Framework external: ZendX     * Zend Framework external: ZendX
   * [[http://​sourceforge.net/​projects/​gemstracker/​files/​new_project.zip/​download|GemsTracker new_project package]]   * [[http://​sourceforge.net/​projects/​gemstracker/​files/​new_project.zip/​download|GemsTracker new_project package]]
   * Optional: LimeSurvey [[http://​www.limesurvey.org/​en/​download]]   * Optional: LimeSurvey [[http://​www.limesurvey.org/​en/​download]]
- 
 ===== Installation ===== ===== Installation =====
  
Line 17: Line 16:
     - Copy files from folder '​new_project'​ to your project folder or rename folder ‘new_project’ to [project name]     - Copy files from folder '​new_project'​ to your project folder or rename folder ‘new_project’ to [project name]
     - Make sure the /var folder and everything below it is writable by the webserver     - Make sure the /var folder and everything below it is writable by the webserver
-  - go to [project]/application/configs/​application.ini +  - Open [project]/htdocs/index.php in an editor 
-    - replace '​NewProject'/​Escort.php by [project name] /Escort.php at bootstrap.path +    - replace ​‘newProject’ with [project name] on line 55: define('GEMS_PROJECT_NAME''newProject');  
-    - replace ​'​NewProject'​_Escort by [project name]_Escort at bootstrap.class +  Open to [project]/​application/​configs/​application.ini in an editor 
-    - replace ​'HOST' ​by [hostname] at resources.db.params.host +    - if you write project specific code: uncomment line 8: loaderDirs.GEMS_PROJECT_NAME_UC = APPLICATION_PATH "/​classes/"​ GEMS_PROJECT_NAME_UC 
-    - replace ​'DATABASE' ​by [database name] at resources.db.params.dbname +  - Open to [project]/​application/​configs/​project.ini ​in an editor 
-    replace '​USER'​ by [database usernameat resources.db.params.username +    - optionally define the project name and description ​at lines 2 and 3 and provide long descriptions for the project ​as well. 
-    - replace '​PASSWD'​ by [database password] at resources.db.params.password +    - create a new random salt containing '​%s' ​at line 15 
-  - go to [project]/​application/​configs/​project.ini +    - set an admin.pwd at least 10 characters ​long 
-    - replace '​New'​ by [project nameat name +    - optionally change other settings, e.g. set the locale.default to "​nl"​ 
-    - replace '​New'​ by [project ​description] at description +  - Open to [project]/​vars/​settings/​db.inc.php in an editor 
-    - create a new random salt containing '​%s'​ +    - set your own database access values for HOST, USER, PASSWD and DATABASE 
-    - set the admin.pwd ​to at least 10 characters ​or set the `APPLICATION_ENV` ​environment ​variable ​to something other than '​production'​+    - optionally specify your environment, the Gems and Zend library directories  
 +    - optionally adapt your include path to the local installation (by default the Gems and Zend directories are set later).
   - go to folder [project]/​application/​classes/​   - go to folder [project]/​application/​classes/​
     - rename folder '​NewProject'​ to [project name].     - rename folder '​NewProject'​ to [project name].
Line 35: Line 35:
   - go to [project]/​application/​classes/​[project name]/​Menu.php   - go to [project]/​application/​classes/​[project name]/​Menu.php
     - rename class NewProject_Menu to [project name]_Menu     - rename class NewProject_Menu to [project name]_Menu
 +    - if you do not plan to have a projects specific menu, remove or rename the file
   - make the `htdocs` the web root   - make the `htdocs` the web root
     - on Unix make a link to the `htdocs` directory     - on Unix make a link to the `htdocs` directory
Line 43: Line 44:
     - login, Username = superadmin and the password from admin.pwd in project.ini     - login, Username = superadmin and the password from admin.pwd in project.ini
   - go to **Setup** > **Database** > **Execute new**   - go to **Setup** > **Database** > **Execute new**
-    - choose **yes**+    - choose **Yes**
  
-You'​re ​GemsTracker installation is ready to [[.:​setup|set-up]] now+Your GemsTracker installation is ready to [[.:​setup|set-up]] now
userzone/quickstart.1360160227.txt.gz · Last modified: 2020/03/12 12:08 (external edit)