作者归档:admin

python环境

安装

curl https://pyenv.run | bash
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
source ~/.bashrc

安装版本

pyenv install 3.14.0

验证全局版本

pyenv global 3.14.0

git仓库

克隆仓库

git clone https://codeup.aliyun.com/66f67e17eef79c23d7b007ce/dev/demo.git
cd demo
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master

已有文件夹或仓库

cd existing_folder
git init
git remote add origin https://codeup.aliyun.com/66f67e17eef79c23d7b007ce/dev/demo.git
git add .
git commit
git push -u origin master

导入代码库

git clone --bare https://git.example.com/your/project.git your_path
cd your_path
git remote set-url origin https://codeup.aliyun.com/66f67e17eef79c23d7b007ce/dev/demo.git
git push origin --tags && git push origin --all

短剧小程序

git: yii2/yii2-duanju

本页演示的是平台发布短剧,用户看广告、购买的模式

git: yii2/video_buy

支持多商家的,每个商家自己在小程序里面管理自己的视频,获得收益,平台审核、打款。

PC管理

功能基本由内容模块【node】实现。