2. Download the Mobile Ticket zip file from Qmatic World or https://github.com/qmatic/mobile-ticket and extract it to a suitable location, for example C:\qmatic.
Configuration – proxy/webserver
Locate and open the file proxy-config.json in the Mobile Ticket folder. The following parameters need to be configured, to get started with Mobile Ticket:
• apigw_ip_port - API Gateway host adress (IP and port).
• local_webserver_port - Local webserver port.
• auth-token - Mobile API User authentication token.
• notification_sound - the sound file used for notifications (for desktop browsers). The default file is notification.mp3 and it is located in the MobileTicket\src\app\resources folder. If wanted, this can be replaced.
• service_fetch_interval - the interval, in seconds, at which service information is refreshed, periodically. Default value is 15 seconds. This setting is only used if the setting Show number of waiting customers is enabled.
• service_screen_timeout - the time duration, in minutes, which the app will stay in the services screen, without creating a ticket. Default value is 10 minutes.
• branch_open_hours - Configure the opening hours for the different weekdays here. For more information, see “Opening hours”
• create_new_ticket - Enable or disable access to create visits using the Mobile Ticket UI. If set to disable, The Get new ticket button will not be visible and access to branch and service pages (through url) is blocked. Set to enable (default value) or disable.
• show_number_of_waiting_customers - Show or hide the number of waiting customers in service list. Set to enable (default value)or disable.
Changes to this file are implemented directly, no restart is needed!
For advanced configuration, please see “Mobile Ticket Application” . Here you can find instructions for localization, branding and opening hours.
When configuration is done
When the configuration is done, open the Mobile Ticket folder, in a command prompt, and start the node.js server, using the following command:
npm start
Then, open a browser and go to the ip address and port that you have configured, for example http://localhost:81.