YangSpace v0.3.1
Summary
Confluence-like blog.
Visit yangspace.co.kr
This repository is desecrated.
Blog is served with kingsj0405.github.io now.
Main Feature
- CRUD of Page
- Page history and revert
- Page preview when writing
- Page Tree on Main
- Login/Logout for administrator
Release
Things to do on release branch
Run for Production
Requirement
Deploy requires following:
- Git
- Docker version 17.12.0-ce, build c97c6d6
- docker-compose version 1.18.0, build 8dd22a96
Backup data if you have.
# this file should moved to data/dump.json
docker exec -t $WEB_CONTAINER python manage.py dump > dump_`date +%d-%m-%Y"_"%H_%M_%S`.json
Step
git clone https://github.com/kingsj0405/YangSpace
cd YangSpace
cp YangSpace/settings/secret.py.template YangSpace/settings/secret.py
# fill variables on 'secret.py'
docker-compose up --build
# Create super user if you need
docker exec -t $WEB_CONTAINER python manage.py createsuperuser
Development
bash scripts/run.sh
I18N
Requirement
I18N requires gettext.
Step
python manage.py makemessages --all -i venv
# translate `.po` files
python manage.py compilemessages --exclude=venv
Static Library
Followings are downloaded in static/lib
.
- Bootstrap 3.3.7
- Font Awesome 4.7.0
- jQuery 3.2.1
- SimpleMDE 1.11.2
- showdown 1.8.4