首页 > 其他分享 >verto communicator 模块编译

verto communicator 模块编译

时间:2023-07-27 18:23:08浏览次数:23  
标签:allow -- verto 编译 bower install communicator save root

verto communicator 模块编译

一、环境

debian 11,gcc 10.2.1,openssl 1.1.1n ,freeswitch 1.10.10,测试终端 windows 10 64 位 (浏览器:Microsoft edge 115.0.1901.183 64 位 ,Chrome 112.0.5615.138 64位)

二、安装编译工具链

安装npm

sudo apt install npm 

安装nodejs版本管理工具n 

sudo npm install -g n

运行版本管理工具n 

sudo n

在下图中选择node/18.17.0

 切换npm国内安装源(加快安装速度)

#查看当前的下包镜像源
npm config get registry
#将下包的镜像源切换为淘宝镜像源
npm config set registry=https://registry.npm.taobao.org/
#检查镜像源是否下载成功
npm config get registry

重启ssh终端。

安装工具bower和grunt

npm install -g bower grunt 

三 、编译verto communicator程序

   进入到verto communicator目录:

cd  /opt/freeswitch-1.8.7/html5/verto/verto_communicator

 执行npm install命令,安装npm依赖库:

npm install

    分别安装bower依赖库,最后在合并:

mv  bower.json bower.json.back

bower --allow-root init

bower install --allow-root moment/moment@~2.9.0 --save

bower install --allow-root jquery@~2.1.4 --save

bower install --allow-root js-cookie/js-cookie@~1.4.1 --save

bower install --allow-root jquery-json@~2.5.1 --save

bower install --allow-root angular@~1.3.15 --save

bower install --allow-root angular-gravatar@~0.4.1 --save

bower install --allow-root bootstrap@~3.3.4 --save

bower install --allow-root angular-toastr@~1.4.1 --save

bower install --allow-root angular-sanitize@~1.3.15 --save

bower install --allow-root angular-route@~1.3.15 --save

bower install --allow-root bower-angular@~1.2.16 --save

bower install --allow-root angular-prompt@~1.1.1 --save

bower install --allow-root angular-animate@~1.3.15 --save

bower install --allow-root angular-cookies@~1.3.15 --save

bower install --allow-root angular-directive.g-signin@~0.1.2 --save

bower install --allow-root angular-fullscreen@~1.0.1 --save

bower install --allow-root ngstorage@~0.3.9 --save

bower install --allow-root humanize-duration#~3.10.0 --save

bower install --allow-root angular-timer@~1.3.3 --save

bower install --allow-root angular-tooltips@~0.1.21 --save

bower install --allow-root datatables@~1.10.8 --save

bower install --allow-root angular-bootstrap@~0.14.3 --save

bower install --allow-root mdbootstrap/bootstrap-material-design@~0.3.0 --save

bower install --allow-root angular-translate@~2.10.0 --save

bower install --allow-root angular-translate-loader-static-files@~2.10.0 --save

bower install --allow-root angular-click-outside@~2.9.2 --save

mv  bower.json.back  bower.json

 修改bower.js配置文件:

"bootstrap-material-design": "~0.3.0" 修改为 "bootstrap-material-design": "mdbootstrap/bootstrap-material-design#~0.3.0"

使用bower合并安装依赖库:  

bower --allow-root install

使用grunt构建程序

grunt build --force

Error: Cannot find module 'moment'  报错处理:

npm install moment --save

四、启动程序

grunt serve

五、测试

浏览器打开URL:https://192.168.1.127:9001

 

标签:allow,--,verto,编译,bower,install,communicator,save,root
From: https://www.cnblogs.com/zhongqifeng/p/17585741.html

相关文章

  • python使用ctypes调用gcc编译的dll之ctypes的使用
    简介ctypes是Python的外部函数库。它提供了与C兼容的数据类型,并允许调用C或C++编译后的DLL或共享库中的函数。可使用该模块以纯Python形式对这些库进行封装。本例中代码基于window系统,python为64位3.9.12,如需在liunx上使用请参考上篇博客1、代码的基础结构如下1.1新......
  • Linux PHP编译安装
    PHP编译安装。1.下载PHP源码包,wgethttps://www.php.net/distributions/php-8.2.8.tar.gz2.进入安装源码包目录,执行./configure命令配置,PHP的核心扩展和常用扩展。3.编译make,安装makeinstall../configure--prefix=/usr/local/php--enable-fpm--with-openssl--enable......
  • 通过qemu和docker搭建检查编译环境
    背景在工作中我们经常需要交叉编译一些可执行程序或者动态库,有时要编译的程序过于复杂,如果靠纯的交叉编译,费事又费力,需要解决大量的编译依赖以及报错。解决方案docker+qemu-userqemu-user提供可以运行不同架构的用户态程序的方案,而docker可以帮我们搭建一个运行qemu-user的......
  • 编译RHEL 8.7 kernel 并重新安装
    背景:最近遇到一个bug,需要修改RHEL8.7kernelconfig的配置参数,然后重新安装该kernel。踩过一些坑,复盘整理。查询当前的kerneluname-r4.18.0-477.15.1.el8_8.x86_64这是当前运行的内核版本。版本号的不同部分表示以下信息:•4.18.0:内核的主版本号、次版本号和发布版本号......
  • m基于16QAM软解调和LDPC信道编译码的通信链路误码率仿真
    1.算法仿真效果matlab2022a仿真结果如下:   2.算法涉及理论知识概要基于16QAM软解调和LDPC信道编译码的通信链路包括以下主要步骤: 2.1数据源编码       在数据源编码阶段,输入的二进制数据会被编码为纠错码,以提高数据传输的可靠性。常用的纠错码包括卷积码、L......
  • Qt+GDAL开发笔记(一):在windows系统mingw32编译GDAL库、搭建开发环境和基础Demo
    前言  麒麟系统上做全球北斗定位终端开发,调试工具要做一个windows版本方便校对,北斗GPS发过来的是大地坐标,应用需要的是经纬度坐标,所以需要转换,可以使用公式转换,但是之前涉及到了另一个shang市公司项目使用WG,最终选择了GDAL库进行转换。注意  如果读者不强制要求ming......
  • day10 10.1 C语言基础之编译器安装
    【一】学习C语言的原因一般公司的apk基于Java实现的加密jadx反编译java,分析代码NB公司的的apk,基于Java+C语言实现加密(JNI开发)加密一般使用C语言开发,在安卓项目中使用Java调用C语言开发的动态链接库文件jadx反编译java,分析代码看不到加密ida反编译c语言,分析代码......
  • 使用gcc-13.1.0编译安装thrift-0.18.1
    执行configure生成Makefile,排除掉不需要的语言支持和测试等:./configure--prefix=/usr/local/thrift-0.18.1--with-boost=/usr/local/boost--with-libevent=/usr/local/libevent--with-openssl=/usr/local/openssl--with-cpp=yes--with-go=no--with-java=no--with-pyth......
  • python使用ctypes调用gcc编译的dll之g++编译c++代码
    1、在windows系统将cpp代码编译成可供python调用的dll1.1新建header.h代码如下#pragmaonce#defineDllExport__declspec(dllexport)extern"C"{DllExportvoidhello_world(void);}/*#pragmaonce用来防止某个头文件被多次include,这条指令就能够保证头文件被......
  • 如何让 Rust 不使用 Visual Studio 的工具链编译
    假如你不想使用VisualStudio进行开发,也不想电脑上多出几个G的累赘,也可以选择使用GNU进行编译,在此记录一下更换工具链的方法。安装后更改安装完成后,确保你的rustup命令可以正常使用。在控制台中执行rustupdefaultstable-x86_64-pc-windows-gnu命令,等待下载完成即可。安......