Giter VIP home page Giter VIP logo

sealtalk-web's Introduction

融云 RongCloud Web IM v2.0

Environment Setup

初始化开发工具

npm install -g typescript tsd coffee-script grunt-cli karma-cli

如有必要,使用 sudo npm

安装依赖库

在项目根目录下执行:

npm install
bower install
tsd install // 本地有 typings 时可忽略

启动测试用例

grunt karma

编译开发代码

grunt build

发布正式代码

grunt release

启动本地服务器

grunt connect

在浏览器中打开

http://localhost:8181
执行grunt build前将app.config文件中的serverUrl和appkey改为自己应用的值

Coding Guidelines

https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines

站点部署说明

1.修改/src/assets/app.config 中serverUrl和appkey的值(ServerUrl为后台Server地址,AppKey为从融云注册的应用key)
2.项目根目录执行命令 grunt release
3.将dist目录下的文件以静态文件形式部署在服务器上。程序入口页面index.html。

sealtalk-web's People

Contributors

yujun2013 avatar

Watchers

James Cloos 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.