building your blog including file server and database
Project description
bloggart
介绍
极速构建博客,内嵌server/database,适合全栈
软件架构
软件架构说明
安装教程
- pip3 install -i https://mirrors.aliyun.com/pypi/simple/ tornado
- xxxx
- xxxx
使用说明
- 直接使用
bloggart
命令 - xxxx
- xxxx
参与贡献
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request
直接用
间接用
二次开发
注意
安全性完全没有
发布
python3 -m venv bloggart-venv/
source bloggart-venv/bin/activate.fish
# 调试好之后
python3 -m pip install --upgrade pip -i https://mirrors.aliyun.com/pypi/simple/
pip3 install -i https://mirrors.aliyun.com/pypi/simple/ setuptools wheel
python3 setup.py sdist bdist_wheel
pip3 freeze > requirements.txt
# requirements添加一个peppercorn
echo 'peppercorn' >> requirements.txt
pip3 download -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple/ -d dist/
cd dist/
dir2pi -S .
scp -r simple/ root@39.97.232.223:/root/pypi/
pip3 install -i http://www.hohohaha.cn:8000/simple/ bloggart==0.0.2 --trusted-host www.hohohaha.cn
上传到pypi
python3 setup.py sdist bdist_wheel
pip3 install -i https://mirrors.aliyun.com/pypi/simple/ twine
python3 -m twine upload dist/*
开发时
使用开发虚拟环境
python3 -m venv bloggart-dev-venv/
source bloggart-dev-venv/bin/activate.fish
在src目录下工作,如:
cd src
pwd
/home/xiabo/gitee-xiabo0816/bloggart/src
python3 bloggart/header.py -c bloggart/config.ini -p 8888
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bloggart-0.0.6.tar.gz
(11.5 kB
view hashes)
Built Distribution
bloggart-0.0.6-py3-none-any.whl
(12.0 kB
view hashes)