mirror of
https://github.com/zhaojh329/rttys.git
synced 2026-02-27 09:53:21 +08:00
@@ -25,7 +25,7 @@ If you want to contribute to [rttys](https://github.com/zhaojh329/rttys), please
|
|||||||
5. Commit and push your changes, then make a pull request from Github.
|
5. Commit and push your changes, then make a pull request from Github.
|
||||||
|
|
||||||
git commit --signoff
|
git commit --signoff
|
||||||
git push
|
git push origin rttys-1-fix
|
||||||
|
|
||||||
6. Awaiting review, if accepted, merged!
|
6. Awaiting review, if accepted, merged!
|
||||||
|
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
5. 提交代码并推送到服务器,然后从Github提交pull request。
|
5. 提交代码并推送到服务器,然后从Github提交pull request。
|
||||||
|
|
||||||
git commit --signoff
|
git commit --signoff
|
||||||
git push
|
git push origin rttys-1-fix
|
||||||
|
|
||||||
6. 等待审查,如果被接受,你的修改将会被合并到主分支。
|
6. 等待审查,如果被接受,你的修改将会被合并到主分支。
|
||||||
|
|
||||||
|
|||||||
28
README.md
28
README.md
@@ -6,34 +6,6 @@ The server side of [rtty](https://github.com/zhaojh329/rtty)
|
|||||||
|
|
||||||
`Keep Watching for More Actions on This Space`
|
`Keep Watching for More Actions on This Space`
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
# How to install
|
|
||||||
Install the GO language environment (if you haven't installed it)
|
|
||||||
|
|
||||||
sudo apt-get install golang
|
|
||||||
|
|
||||||
Install dependent packages
|
|
||||||
|
|
||||||
go get github.com/gorilla/websocket
|
|
||||||
go get github.com/rakyll/statik
|
|
||||||
|
|
||||||
Install rtty server
|
|
||||||
|
|
||||||
go get github.com/zhaojh329/rttys
|
|
||||||
|
|
||||||
Manual run
|
|
||||||
|
|
||||||
$GOPATH/bin/rttys -port 5912
|
|
||||||
|
|
||||||
Install the automatic boot script
|
|
||||||
|
|
||||||
cd $GOPATH/src/github.com/zhaojh329/rttys
|
|
||||||
sudo ./install.sh
|
|
||||||
sudo /etc/init.d/rttys start
|
|
||||||
|
|
||||||
# Contributing
|
# Contributing
|
||||||
If you would like to help making [rttys](https://github.com/zhaojh329/rttys) better,
|
If you would like to help making [rttys](https://github.com/zhaojh329/rttys) better,
|
||||||
see the [CONTRIBUTING.md](https://github.com/zhaojh329/rttys/blob/master/CONTRIBUTING.md) file.
|
see the [CONTRIBUTING.md](https://github.com/zhaojh329/rttys/blob/master/CONTRIBUTING.md) file.
|
||||||
28
README_ZH.md
28
README_ZH.md
@@ -6,34 +6,6 @@
|
|||||||
|
|
||||||
`请保持关注以获取最新的项目动态`
|
`请保持关注以获取最新的项目动态`
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
# 如何安装
|
|
||||||
安装GO语言环境(如果您还未安装)
|
|
||||||
|
|
||||||
sudo apt-get install golang
|
|
||||||
|
|
||||||
安装依赖包
|
|
||||||
|
|
||||||
go get github.com/gorilla/websocket
|
|
||||||
go get github.com/rakyll/statik
|
|
||||||
|
|
||||||
安装rtty server
|
|
||||||
|
|
||||||
go get github.com/zhaojh329/rttys
|
|
||||||
|
|
||||||
手动运行
|
|
||||||
|
|
||||||
$GOPATH/bin/rttys -port 5912
|
|
||||||
|
|
||||||
安装自启动脚本,后台运行
|
|
||||||
|
|
||||||
cd $GOPATH/src/github.com/zhaojh329/rttys
|
|
||||||
sudo ./install.sh
|
|
||||||
sudo /etc/init.d/rttys start
|
|
||||||
|
|
||||||
# 贡献代码
|
# 贡献代码
|
||||||
如果你想帮助[rttys](https://github.com/zhaojh329/rttys)变得更好,请参考
|
如果你想帮助[rttys](https://github.com/zhaojh329/rttys)变得更好,请参考
|
||||||
[CONTRIBUTING_ZH.md](https://github.com/zhaojh329/rttys/blob/master/CONTRIBUTING_ZH.md)。
|
[CONTRIBUTING_ZH.md](https://github.com/zhaojh329/rttys/blob/master/CONTRIBUTING_ZH.md)。
|
||||||
|
|||||||
Reference in New Issue
Block a user