BadJS is a web front-end exception monitoring solution that provides a systematic tracking solution for script error monitoring, reporting, statistics, and viewing of web pages. At present, BadJS covers 40+ businesses of Tencent Classroom, official account, mailbox and other companies, and supports script error capture, reporting, statistics, alarms, and regular email reports. BadJS has been open sourced on Github (https://github.com/betterjs)
#!/usr/bin/env bash echo 'download installation code' git clone https://github.com/BetterJS/badjs-installer.git cd badjs-installer echo 'download dependent modules' npm run clone echo 'install npm dependencies' npm run install echo 'Import mysql database (use root account to db badjs)' mysql -u root -p badjs < ../badjs-web/db/create.sql echo 'start badjs (requires sudo permissions)' sudo npm run start