# Code-Share **Repository Path**: xiaotao233/code-share ## Basic Information - **Project Name**: Code-Share - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-06-03 - **Last Updated**: 2024-11-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Installation ```shell $ git clone https://gitee.com/Farmer-chong/code-share.git $ cd code-share ``` 创建&&安装虚拟环境: with venv/virtualenv + pip: ```shell $ python -m venv env # use `virtualenv env` for Python2, use `python3 ...` for Python3 on Linux & macOS $ .\env\Scripts\activate # use `env\Scripts\activate` on Windows $ source env/bin/activate # use `env\Scripts\activate` on Linux $ pip install -r requirements.txt # or use pip3 on Linux ``` 运行api server: ``` $ flask initdb $ flask run * Running on http://127.0.0.1:5000/ ``` 如果执行`pip install`命令安装依赖耗时太长,你可以考虑使用国内的PyPI镜像源,比如: ``` $ pip install -i https://mirrors.aliyun.com/pypi/simple -r requirements.txt ``` ## License This project is licensed under the MIT License (see the [LICENSE](LICENSE) file for details).