Giter Site home page Giter Site logo

Comments (8)

yushuiying avatar yushuiying commented on August 17, 2024

是的, 我也遇到同样的问题,建议文档完善一下

from oimws.

Loney-Cao avatar Loney-Cao commented on August 17, 2024

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后,没有任何反应和输出
image

from oimws.

cubxxw avatar cubxxw commented on August 17, 2024

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.

cubxxw avatar cubxxw commented on August 17, 2024

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:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

aidenup avatar aidenup commented on August 17, 2024

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后,没有任何反应和输出 image

我也有同样的问题,请问解决了吗.
按照文档中 make build make start 后无反应,运行 make check 后提示:Checking port 10003... Port 10003 is not in use. .
我应该在哪一步做错了

from oimws.

blackwhite084 avatar blackwhite084 commented on August 17, 2024

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后,没有任何反应和输出 image

我也有同样的问题,请问解决了吗. 按照文档中 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.

aidenup avatar aidenup commented on August 17, 2024

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后,没有任何反应和输出 image

我也有同样的问题,请问解决了吗. 按照文档中 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)

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.