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.5+ -- 安装教程 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.5+ -- 安装教程 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-1.0.0.tar.gz
(25.8 kB
view details)
Built Distribution
DeerU-1.0.0-py3-none-any.whl
(16.4 kB
view details)
File details
Details for the file DeerU-1.0.0.tar.gz
.
File metadata
- Download URL: DeerU-1.0.0.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6ee5fbcb911964d8577183a80e2479b835f7a98578fd83d6a66751cc7af8fd8 |
|
MD5 | 556244e0271242f857283f908282975d |
|
BLAKE2b-256 | c23a866a3c72f0145062f6ec4b48f6c85191b301fc544bddd1ee8484c2622ac7 |
File details
Details for the file DeerU-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: DeerU-1.0.0-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bce0e8a4c6e7411ae7aeb96de1f6009a43074526e379c644c7f7217ab3de41fe |
|
MD5 | d3abbcb66d6ed560aea83a85bdfb4b0a |
|
BLAKE2b-256 | 5062e444c550b1b8303cd65d36a02dbd983a5c3c35b842895a147e6af10802b1 |