# Django-Blog **Repository Path**: jwt1399/Django_Blog ## Basic Information - **Project Name**: Django-Blog - **Description**: 🍒基于Django3.0.5+Python3.7+SQLite的博客系统 - **Primary Language**: Python - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 5 - **Forks**: 1 - **Created**: 2021-11-04 - **Last Updated**: 2024-01-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: Django, Python, Sqlite, blog ## README ## 基于Django+Simpleui的博客系统 前端:[hexo-theme-matery](https://github.com/blinkfox/hexo-theme-matery),就是我[博客](https://jwt1399.top)的hexo主题 后台:[SimpleUi](https://simpleui.88cto.com/simpleui) Django:[Django 3.0.5](https://www.djangoproject.com/) Python:python3.7 👇 👇 👇 👇 👇 👇 👇 👇 👇 [部署方法在文章最后](https://github.com/jwt1399/Django_Blog/blob/master/README.md#%E9%83%A8%E7%BD%B2%E6%96%B9%E6%B3%95--) 👇 👇 👇 👇 👇 👇 👇 👇 👇 ## 前端页面展示 ### 首页   ### 文章详情  ### 评论  ### 友链  ### 文章分类详情页  ### 归类页  ### 关于页  ## 后台页面展示 ### 后台登录页  ### 后台首页  ### 文章管理  ### 分类  ### 友链  ### 关于设置  ### 网站设置  ## 部署方法 👇 ### 安装Docker [官方文档](https://docs.docker.com/engine/install/ubuntu/) ```bash $ curl -fsSL get.docker.com -o get-docker.sh $ sudo sh get-docker.sh --mirror Aliyun ``` **检验Docker是否安装成功** ```python $ docker run hello-world Unable to find image 'hello-world:latest' locally ... latest: Pulling from library/hello-world 1b930d010525: Pull complete ... Hello from Docker! This message shows that your installation appears to be working correctly. ... ``` ### 安装Docker compose [官方文档 ](https://docs.docker.com/compose/install/) | [查看最新版本](https://github.com/docker/compose/releases) 根据新版本的变化自行调整下面命令中的版本来安装: ```bash # 下载docker-compose $ sudo curl -L "https://github.com/docker/compose/releases/download/1.25.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose # 给docker-compose执行权限 $ chmod +x /usr/local/bin/docker-compose # 查看docker compose版本,测试是否安装成功 $ docker-compose version docker-compose version 1.25.5, build 8a1c60f6 docker-py version: 4.1.0 CPython version: 3.7.5 OpenSSL version: OpenSSL 1.1.0l 10 Sep 2019 ``` ### 安装Python3 ```bash $ sudo apt install python3 $ sudo apt-get install python3-pip $ pip3 install --upgrade pip ``` ### 克隆项目 ```bash $ git clone https://github.com/jwt1399/Django_Blog.git ``` ## 一键部署 ```bash $ docker-compose up #构建镜像并启动容器 ``` ## 赞助💰 如果你觉得对你有帮助,你可以赞助我一杯冰可乐吧!
支付宝支付 | 微信支付 |
![]() |
![]() |