A static blog builder power by django
Project description
Maltose
一个使用Django编写的静态博客生成器。
拥有如下功能
- 内置图片管理
- Makrdown编辑器 in web
快速开始
pip install maltose
使用
在你的博客目录下运行命令maltose-cli migrate用以创建数据库,如果目录下没有maltose.json配置,会询问你之后自动创建。
博客目录下必须存在templates,其中包含articles与static,前者包含所有页面的模板,后者包含所需要的静态文件。(可以使用现成的模板, 例如: https://github.com/MaltoseEditor/black-white )
使用maltose-cli.py runserver,你将能启动Django程序,你可以在localhost:8000/editor/中获得一个编辑器,用以书写博客。程序使用Django信号来创建用以发布到网络上的静态页面。
高级使用
你可以直接下载源码然后依照标准Django程序进行修改,使用python setup.py install可以安装你自己改修后的版本。
更多说明
……to be continue
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maltose-0.1.7.tar.gz.
File metadata
- Download URL: maltose-0.1.7.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9934fab37872aec2fba05a1ee584edd8825965d76f464f76dfce2fc96a84276e
|
|
| MD5 |
8e1953398c39a3f2c479913670abc9b5
|
|
| BLAKE2b-256 |
a7720982b6f06e2393560ba2d8579469e965a196a8aa6d19eecd7e5271c8de8e
|
File details
Details for the file maltose-0.1.7-py2.py3-none-any.whl.
File metadata
- Download URL: maltose-0.1.7-py2.py3-none-any.whl
- Upload date:
- Size: 2.5 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b3462820c8661773a7b88bdf7ca640a076591e3fb1f02df82278787f4da32b4
|
|
| MD5 |
6c90e8266236b585d2a594e438fe724d
|
|
| BLAKE2b-256 |
08b94595bec7bc053dde051b033d070be620dc21e2aca8cdfaa864f51b3dd1a6
|