Git Product home page Git Product logo

playrpc's Introduction

Play RPC

Some reading notes of 深入理解 RPC : 基于 Python 自建分布式高并发 RPC 服务

Preparation for environment

use Python2.7.18 on MacOS 13

brew install pyenv
pyenv install 2.7.18
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bash_profile
echo '[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
source ~/.bash_profile

cd path/to/this/folder
pyenv local 2.7.18
pip install virtualenv
virtualenv .venv
source .venv/bin/activate

Add existing folder into a GitHub repository, and add a submodule.

git init -b main
git remote add origin [email protected]:FrankHitman/playRPC.git
git submodule add [email protected]:FrankHitman/juejin_rpc_py.git
git submodule init
git pull origin main
git branch --set-upstream-to=origin/main main

查看依赖与生成依赖文件

pip list
pip freeze -> requirements.txt

References

playrpc's People

Contributors

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