Comments (8)
是的, 我也遇到同样的问题,建议文档完善一下
from oimws.
1、h5项目里,建议明确说明需要安装oimws服务,最好在界面里提示
2、需要手动创建db目录才能正常运行(openIMDbDir )
3、没有上面链接所说的./example, 链接应该用make start 或bin/main 替代 https://docs.openim.io/zh-Hans/guides/gettingStarted/jssdk
4、make start后不能后台
你好,能详细说一下吗?我按照readme 文档, make build , make start后,没有任何反应和输出
from oimws.
Everything looks great!
smile@smile:/data/workspaces/oimws$ make build
smile@smile:/data/workspaces/oimws$ tree _output/
_output/
├── bin
│ └── main
├── tmp
└── tools
cat Makefile:
## start: Start the service.
.PHONY: start
start:
@mkdir -p logs
@nohup $(BIN_DIR)/$(BINS)/main >> logs/oimws.log 2>&1 &
check:
smile@smile:/data/workspaces/oimws$ lsof -i :10003
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
main 519765 smile 3u IPv6 4425388 0t0 TCP *:10003 (LISTEN)
from oimws.
I've recently made some updates to the codebase that might interest you. To get a sense of the changes and how they affect the application, you can run the following commands:
-
make build
: This command compiles or builds the project from the source code. It prepares the application for execution, ensuring all necessary dependencies are in place and compiled. -
make start
: Launches the application. This command is used to start the server or the process that runs the application, making it ready to receive requests or perform tasks. -
make stop
: This command is used to gracefully shut down the application. It ensures that the process is terminated in a controlled manner, preserving data integrity and ensuring that all resources are properly released. -
make check
: Performs a health check or status check of the application or the environment. This could involve checking if the application is running, verifying if a particular port is in use, or assessing the health of the system in other ways.
Each command is designed to simplify the process of managing the application lifecycle, from building and starting to stopping and checking the status. This update aims to streamline operations and maintenance tasks, making it easier for developers and system administrators to manage the application effectively.
Feel free to give these commands a try and let me know if you encounter any issues or have any feedback.
from oimws.
1、h5项目里,建议明确说明需要安装oimws服务,最好在界面里提示
2、需要手动创建db目录才能正常运行(openIMDbDir )
3、没有上面链接所说的./example, 链接应该用make start 或bin/main 替代 https://docs.openim.io/zh-Hans/guides/gettingStarted/jssdk
4、make start后不能后台
我也有同样的问题,请问解决了吗.
按照文档中 make build
make start
后无反应,运行 make check
后提示:Checking port 10003... Port 10003 is not in use.
.
我应该在哪一步做错了
from oimws.
1、h5项目里,建议明确说明需要安装oimws服务,最好在界面里提示
2、需要手动创建db目录才能正常运行(openIMDbDir )
3、没有上面链接所说的./example, 链接应该用make start 或bin/main 替代 https://docs.openim.io/zh-Hans/guides/gettingStarted/jssdk
4、make start后不能后台我也有同样的问题,请问解决了吗. 按照文档中
make build
make start
后无反应,运行make check
后提示:Checking port 10003... Port 10003 is not in use.
. 我应该在哪一步做错了
可以看看是否已经正常运行了 @aidenup
smile@smile:/data/workspaces/oimws$ lsof -i :10003
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
main 519765 smile 3u IPv6 4425388 0t0 TCP *:10003 (LISTEN)
from oimws.
1、h5项目里,建议明确说明需要安装oimws服务,最好在界面里提示
2、需要手动创建db目录才能正常运行(openIMDbDir )
3、没有上面链接所说的./example, 链接应该用make start 或bin/main 替代 https://docs.openim.io/zh-Hans/guides/gettingStarted/jssdk
4、make start后不能后台我也有同样的问题,请问解决了吗. 按照文档中
make build
make start
后无反应,运行make check
后提示:Checking port 10003... Port 10003 is not in use.
. 我应该在哪一步做错了可以看看是否已经正常运行了 @aidenup smile@smile:/data/workspaces/oimws$ lsof -i :10003 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME main 519765 smile 3u IPv6 4425388 0t0 TCP *:10003 (LISTEN)
谢谢问题找到了,原因是我当前go 的镜像源download的包是有问题的,切换了下镜像源 重新构建运行可以了.
抱歉不熟悉go语言.
from oimws.
Related Issues (20)
- make start no daemon HOT 1
- sqllite 断线导致程序退出 HOT 1
- v3.5.1-alpha.8 代码运行报错, 连接会自己断开
- 同一userID使用不同platformID申请到不同的token, 用jssdk登录, 会出现概率无法监听到新消息的情况 HOT 3
- 在线状态同步问题 HOT 2
- go code error: fn in args num is not match: 10006 SdkInternalError HOT 1
- 同一个用户打开两个浏览器聊天窗口,只有一个窗口能正常收到消息 HOT 1
- 项目有内存泄露 HOT 2
- Start with mage uniformly and replace the original make
- Bug reports for links in OpenIM docs HOT 1
- oimws message "http的headers Authorization中没有对应token", When logging in to JSSDK, the token is spliced after the URL, resulting in the failure to log in HOT 6
- Unable to receive offline messages.
- The issue of lost messages in the iOS version of the mini-program HOT 1
- Bug: message too long,websocket do not response.
- error *errors.withStack not implement CodeError: init database ==> github.com/openimsdk/openim-sdk-core/v3/pkg/db.NewDataBase() HOT 1
- login error, code1005 HOT 1
- 获取会话列表时,报错database is closed HOT 1
- oimws服务 down了 HOT 4
- websocket need to change binary type to text message.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oimws.