GithubHelp home page GithubHelp logo

sherwin / sealtalk-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sealtalk/sealtalk-web

0.0 1.0 0.0 3.54 MB

Web IM of SealTalk powered by RongCloud. 基于融云开发的 Web 版即时通讯(IM)应用程序 - 嗨豹。

Home Page: web.sealtalk.im

License: MIT License

CoffeeScript 0.58% JavaScript 54.29% CSS 5.17% HTML 6.12% TypeScript 33.83%

sealtalk-web's Introduction

融云 RongCloud Web IM V2.0

Environment Setup

Mac 环境下开发

如有必要,使用 sudo npm

需修改 typings 目录的访问权限,否则执行 grunt build 会报错

如 typescript 编译不过,请打开 node_modules/grunt-typescript/package.json 文件,将 typescript 版本改为 1.6.2, 然后在 grunt-typescript 执行 npm install

初始化开发工具

npm install -g [email protected] tsd coffee-script grunt-cli

安装依赖库

在项目根目录下执行:

npm install
bower install
tsd install

修改配置,配置文件 /src/assets/app.config

appkey: 从融云注册的应用 key,注册地址:https://developer.rongcloud.cn/signup
serverUrl: App Server 地址,使用 https://github.com/sealtalk/sealtalk-server 部署后获取

编译开发代码

grunt build (输出Waiting...时,build成功)

发布正式代码

grunt release

启动本地服务器

grunt connect

在浏览器中打开

http://localhost:8181  端口号请与Gruntfile中实际配置保持一致

Coding Guidelines

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

站点部署说明

1.项目根目录执行命令 grunt release
2.将 dist 目录下的文件以静态文件形式部署在服务器上。程序入口页面 index.html

sealtalk-web's People

Contributors

yujun2013 avatar

Watchers

 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.