DeerU is a content management system(DeerU 是一个开源博客系统)
Project description
.. image:: https://github.com/gojuukaze/DeerU/blob/master/logo_black.png?raw=true
:target: https://github.com/gojuukaze/DeerU
:scale: 50%
`DeerU <https://github.com/gojuukaze/DeerU>`__ is a content management system, used for blogs.
DeerU 是一个开源博客系统
依赖
----
- Python 3.6+ -- 安装教程 https://www.ikaze.cn/article/28
- pip 10+
- git
- libjpeg,zlib -- pillow包的依赖
- ubuntu:
``apt-get install libjpeg8-dev zlib1g-dev libfreetype6-dev``
- centos:
``yum -y install python-devel zlib-devel libjpeg-turbo-devel``
目录
----
- 项目文档 :\ https://deeru.readthedocs.io
- `安装 <#安装>`__
- `初始化 <#初始化>`__
- `运行 <#运行>`__
安装
----
- 安装之前建议配置虚拟环境
.. code:: bash
pip install virtualenv
virtualenv --no-site-packages deeru_env
source deeru_env/bin/activate
- pip安装
.. code:: bash
pip install DeerU
deeru-admin install deeru
- 手动安装
.. code:: bash
git clone -b dev https://github.com/gojuukaze/DeerU.git
cd DeerU
pip install -r requirements.txt
初始化
------
- 运行下面命令初始化项目,注意:如果你更改了数据库的配置,或者修改了主题的静态文件
则需要再次运行初始化
.. code:: bash
cd DeerU # 如果你没进入工程目录先进入
python manage.py init_deeru
运行
----
- 以debug模式运行
.. code:: bash
python manage.py runserver 0.0.0.0:8000
license
----------
DeerU使用 `GNU General Public License v3.0
协议 <https://github.com/gojuukaze/DeerU/blob/master/LICENSE>`__
,你可以在遵循此协议的情况下免费使用DeerU
.. note::
需要注意的是,DeerU本身是免费的,但后台管理使用了富文本编辑器froala,其扩展插件并不免费,你可以在以下链接中查看收费信息:
https://github.com/froala/django-froala-editor#license
https://froala.com/wysiwyg-editor/pricing
(你可以自己更换其他编辑器,我也会在之后内置一些富文本编辑器的替代方案)
截图
----
首页
.. image:: https://github.com/gojuukaze/DeerU/blob/dev/docs/source/_static/home.png?raw=true
:scale: 80%
.. image:: https://github.com/gojuukaze/DeerU/blob/dev/docs/source/_static/detail.png?raw=true
:scale: 80%
.. image:: https://github.com/gojuukaze/DeerU/blob/dev/docs/source/_static/admin.png?raw=true
:scale: 80%
.. image:: https://github.com/gojuukaze/DeerU/blob/dev/docs/source/_static/admin3.png?raw=true
:scale: 80%
.. image:: https://github.com/gojuukaze/DeerU/blob/dev/docs/source/_static/p2.png?raw=true
:scale: 50%
:target: https://github.com/gojuukaze/DeerU
:scale: 50%
`DeerU <https://github.com/gojuukaze/DeerU>`__ is a content management system, used for blogs.
DeerU 是一个开源博客系统
依赖
----
- Python 3.6+ -- 安装教程 https://www.ikaze.cn/article/28
- pip 10+
- git
- libjpeg,zlib -- pillow包的依赖
- ubuntu:
``apt-get install libjpeg8-dev zlib1g-dev libfreetype6-dev``
- centos:
``yum -y install python-devel zlib-devel libjpeg-turbo-devel``
目录
----
- 项目文档 :\ https://deeru.readthedocs.io
- `安装 <#安装>`__
- `初始化 <#初始化>`__
- `运行 <#运行>`__
安装
----
- 安装之前建议配置虚拟环境
.. code:: bash
pip install virtualenv
virtualenv --no-site-packages deeru_env
source deeru_env/bin/activate
- pip安装
.. code:: bash
pip install DeerU
deeru-admin install deeru
- 手动安装
.. code:: bash
git clone -b dev https://github.com/gojuukaze/DeerU.git
cd DeerU
pip install -r requirements.txt
初始化
------
- 运行下面命令初始化项目,注意:如果你更改了数据库的配置,或者修改了主题的静态文件
则需要再次运行初始化
.. code:: bash
cd DeerU # 如果你没进入工程目录先进入
python manage.py init_deeru
运行
----
- 以debug模式运行
.. code:: bash
python manage.py runserver 0.0.0.0:8000
license
----------
DeerU使用 `GNU General Public License v3.0
协议 <https://github.com/gojuukaze/DeerU/blob/master/LICENSE>`__
,你可以在遵循此协议的情况下免费使用DeerU
.. note::
需要注意的是,DeerU本身是免费的,但后台管理使用了富文本编辑器froala,其扩展插件并不免费,你可以在以下链接中查看收费信息:
https://github.com/froala/django-froala-editor#license
https://froala.com/wysiwyg-editor/pricing
(你可以自己更换其他编辑器,我也会在之后内置一些富文本编辑器的替代方案)
截图
----
首页
.. image:: https://github.com/gojuukaze/DeerU/blob/dev/docs/source/_static/home.png?raw=true
:scale: 80%
.. image:: https://github.com/gojuukaze/DeerU/blob/dev/docs/source/_static/detail.png?raw=true
:scale: 80%
.. image:: https://github.com/gojuukaze/DeerU/blob/dev/docs/source/_static/admin.png?raw=true
:scale: 80%
.. image:: https://github.com/gojuukaze/DeerU/blob/dev/docs/source/_static/admin3.png?raw=true
:scale: 80%
.. image:: https://github.com/gojuukaze/DeerU/blob/dev/docs/source/_static/p2.png?raw=true
:scale: 50%
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
DeerU-2.0.2.tar.gz
(26.1 kB
view details)
Built Distribution
DeerU-2.0.2-py3-none-any.whl
(29.1 kB
view details)
File details
Details for the file DeerU-2.0.2.tar.gz
.
File metadata
- Download URL: DeerU-2.0.2.tar.gz
- Upload date:
- Size: 26.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3c371d86c1561a08f6913e5f37f46378d60bc66bd88a319f7e2894958d537c6 |
|
MD5 | acb159125c4aa7d86f781af323fa3dc7 |
|
BLAKE2b-256 | 3670edf638008331866451befda60cf1c2518a27bc9a866348d6cfbc38be2358 |
File details
Details for the file DeerU-2.0.2-py3-none-any.whl
.
File metadata
- Download URL: DeerU-2.0.2-py3-none-any.whl
- Upload date:
- Size: 29.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57c8ed25238f116f2386b9f3086fa24856e1a11ccb31f60226e19ac8a31a2f88 |
|
MD5 | 0e9f6464b2d9e51f9aee924cca207a24 |
|
BLAKE2b-256 | 6cc25619d0a7a57a56e4801df6c3171e37e278ff86abb41dd6211fac5f95370e |