Giter Club home page Giter Club logo

vnplayground's Introduction

VideoNativePlayground

Playground是一个让前端用户不用安装Android或iOS编译环境就可以体验VN开发的快速实验性项目。

1.准备工作

1.1)安装Node.js

Node.js官方网站

1.2)安装Python与WatchDog组件(可选)

如果想使用自动打包工具,选装Python和WatchDog组件。

安装Python

Python官方网站(Mac OS自带Python无需安装)

安装WatchDog组件

$ pip install watchdog

1.3)安装VN Playground.apk

在Android手机上面安装VN Playground.apk,并将Android手机设置为允许USB调试,然后通过USB连接电脑,在看到是否同意该电脑�调试时请选择是。

打开VN Playground App。

1.4)下载Playground源码

Playground功能目录:http://git.code.oa.com/VideoNative/VideoNativePlayground 打开项目Playground代码工程中的VNAPP目录,�该目录是�编写VN� Playground代码的工程�根目录,其中源码都放在VNAPP/source目录下其他目录和文件是都用于打包的工具或者临时目录。
下载完成源码后请在VNAPP目录下运行:

$ npm install

2.Get Started(With Python WatchDog)

2.1) 如果安装了上述python环境,在VNAPP目录下运行如下代码

$ python monitor.py

2.2) 在VNAPP/source文件夹下开始VN的编码工作,每当文件�添加,删除或保存时,角标会自动打包上传至手机APP上。如果修改了代码请退出页面,并在看到terminal提示打包完成后重新进入即可�看到报错后的页面。

2.Get Started(Without Python WatchDog)

如果系统手动部署,Windows请在编码完成后运行npm run build_windows,Mac OS请在编码完成后运行npm run build_mac

vnplayground's People

Contributors

lj8215946 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.