Skip to content
A Django blog
Python
Branch: master
Clone or download
Latest commit be9f0ff Feb 23, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
c1blog
cores
images
nginx
static
templates
.gitattributes
.gitignore
Dockerfile
LICENSE
README.md
docker-compose.yml
manage.py
requirements.txt
run.sh

README.md

C1blog v1.0.1

GitHub python

引入docker
example:https://christa.top

使用了Material X作为本博客的主题

Install

Set up account

Change your own information in cores/views.py

auth={}
auth['username'] = 'name'
auth['userimgpath'] = '/static/img/user.jpg'
auth['motto'] = 'moto'
auth['github'] = '# '

Next, custom admin account in Dockerfile

ENV SECRET_KEY=SECRET_KEYS USERNAME=postgres PASSWORD=postgres
ENV SUPUSER=admin EMAIL="admin@admin.com" SUPPASSWD=admin

Finally, run command

docker-compose up -d

图片预览

avator

avator

avator

avator

avator

You can’t perform that action at this time.