hasnularief/iqueue 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

hasnularief/iqueue

Composer 安装命令:

composer require hasnularief/iqueue

包简介

Indonesia Queue System (Sistem Antrian Bahasa Indonesia)

README 文档

README

(SISTEM INFORMASI ANTRIAN BAHASA INDONESIA MULTI LOKASI)

Requirement

Laravel 6.0 and configurated database

Installation

composer require hasnularief/iqueue

Export configurations

php artisan vendor:publish --tag=iqueue
php artisan vendor:publish --provider="BeyondCode\LaravelWebSockets\WebSocketsServiceProvider" --tag="migrations"
php artisan vendor:publish --provider="BeyondCode\LaravelWebSockets\WebSocketsServiceProvider" --tag="config"
php artisan migrate

Configurations

  1. Set permission folder public/iqueue/ticket to rw
  2. Set printer_name and printer_type in config\iqueue.php
  3. Set BROADCAST_DRIVER=pusher, PUSHER_APP_ID=your_pusher_app_id, PUSHER_APP_KEY=your_pusher_app_key, PUSHER_APP_SECRET=your_pusher_app_secret in .env file
  4. Set in config/broadcasting.php
// config/broadcasting.php
'pusher' => [
            'driver' => 'pusher',
            'key' => env('PUSHER_APP_KEY'),
            'secret' => env('PUSHER_APP_SECRET'),
            'app_id' => env('PUSHER_APP_ID'),
            'options' => [
                'cluster' => env('PUSHER_APP_CLUSTER'),
                'useTLS' => true,
                'host' => '127.0.0.1', // add_key_value
                'port' => 6001, // add_key_value
                'scheme' => 'http' // add_key_value
            ],
        ], 

Set timezone in config\app.php

Finally run php artisan config:cache and php artisan route:cache

Run Services

Run websocket-server

php artisan websocket:serve

Link TV dan Cetak Ticket

http://your-app.test/iqueue/tv?location={location}
http://your-app.test/iqueue/ticket?location={location}

Link Pemanggil

http://your-app.test/iqueue/call?location={location}&type={A}&key={counter_key}&mode={CALL}

Atau dapat menggunakan aplikasi windows yang telah disediakan.

Customize

Untuk mengkustom tampilan tv dan ticket sebelumnya dapat mengeksport blade terlebih dahulu. php artisan vendor:publish --tag=iqueue-view file blade baru akan ada di folder view\iqueue project laravel. Silahkan kustom kemudian daftarkan di config\iqueue.php

Catatan

Iqueue akan menghapus database tanggal sebelumnya saat merefresh halaman tv.

Bantuan

Untuk printer type windows, set net use connection from cmd. Windows harus memiliki user name dan password

net use LPT1: "\\COMPUTER_PRINTER\PRINTER_NAME" /persistent:yes /user:"computer user" password

Jika gagal coba hapus dan buat lagi, serta restart service net use .

Untuk otomatis login user windows https://www.cnet.com/how-to/how-to-log-on-to-windows-7-automatically/

统计信息

  • 总下载量: 182
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 1
  • Forks: 1
  • 开发语言: JavaScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-11-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固