-
Notifications
You must be signed in to change notification settings - Fork 31
4. Running client
Once you are finished with database configuration for your project you can access it in following ways:
You have to use exactly the same project name as it is in database, including correct case.
http://localhost/gisapp/your_project
http://localhost/gisapp/your_project?public=on
Mobile client is started automatically when using smart phone, to force mobile client on other device add mobile=on
parameter to URL. Mobile Hello World example:
http://localhost/gisapp/helloworld?mobile=on
If you want that mobile client is also default mode with tablets look at this solution https://github.com/uprel/gisapp/issues/54
Gisportal is separate repository which you can install and works with existing gisapp database. Purpose is to register/login and to browse and open projects with permissions to the user. Single login without the need to login for every project.
EQWC uses PHP sessions to store each logged-in user information on server. Default PHP session timeout is 1440 seconds (24 minutes). You can extend that time by adjusting variable session.gc_maxlifetime in php.ini.
Every release comes with single minifed javascript file (eqwc.js and eqwc_mobile.js). To use javascript source files (if you make any changes or for debugging) you have to set debug variable to true in /admin/settings.php
. Look for template file if you do not have variable in your file!
define('DEBUG', true);
Because of minified version all client related settings must be in separate file, which is excluded from minified version (/client_common/settings.js
). That means that settings work regarding debug variable.
This settings control Client in general, with database you manage other Client settings for each project.
Look into settings-template.js
when updating for any new settings that you can copy and adjust in your settings file.
Read client settings documentation docs/Eqwc.settings.html