如何使用playacular和play framework
我已经下载了我的项目是基于玩框架但我不知道如何编写匹配播放框架的config.js这是我知道的东西
框架:玩
基本path:“”
文件:应用程序/资产/ JavaScript的/ footageURL.js
CLI端口:9000
浏览器:Chrome浏览器
autowatch:是
任何人都可以给我一些build议吗?
我已经靠自己解决了
这是我做的
-
确保你有
- GitHub上
- npm (节点打包模块)
- nvm (节点版本pipe理器)
- 的node.js
-
我从GitHub下载了源代码
:~/Development$ git clone https://github.com/vojtajina/testacular.git
-
然后你会看到一个叫做“口哨”的字典。
:~/Development$ cd testacular
-
编译之前,你应该下载require.js
sudo npm -g install
- 之后,应该可以运行源代码
~/testacular$ grunt build
这里是如何写茉莉花testing,然后将文件添加到testacular.conf.js