Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎉 srpc tools: simple generator for building Workflow and SRPC projects #314

Open
holmes1412 opened this issue May 13, 2023 · 0 comments

Comments

@holmes1412
Copy link
Contributor

holmes1412 commented May 13, 2023

SRPC has released a tool srpc to quickly build projects in Release v0.10.0 👏👏👏

It can automatically pulling dependencies, deploying directories, generating cmake compiling files, default configurations, and sample codes.

SPRC项目在Release v0.10.0中发布了名为srpc的小工具,可以快速构建Workflow和SRPC项目,包括自动拉取依赖、部署目录、生成编译文件、默认配置和示例代码。

  1. source code, documents in English, 中文文档 and wiki

  2. usage:

./srpc
Description:
	Simple generator for building Workflow and SRPC projects.

Usage:
    ./srpc <COMMAND> <PROJECT_NAME> [FLAGS]

Available Commands:
    http    - create project with both client and server
    redis   - create project with both client and server
    rpc     - create project with both client and server
    proxy   - create proxy for some client and server protocol
    file    - create project with asynchronous file service
    compute - create project with asynchronous computing service
  1. simple example:
./srpc http project_name1
  1. usage steps

The tool srpc will help us automatically pull the necessary submodules. However, some software and libraries still need to be installed by users on their own systems, such as cmake and ssl (and possibly protobuf). Here are the usage steps showing the command to execute and the required installation.

srpc小工具会自动拉取必要的子模块。 然而,一些软件和库仍然需要用户自行安装,比如 cmake 和 ssl(如果小工具的命令是srpc相关,那么可能需要安装 protobuf)。 下图展示了使用步骤,包括要执行的命令和要安装的依赖。

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant