kingsj0405 / yangspace_v3

Blog like Conluence
http://yangspace.co.kr/
Other
1 stars 0 forks source link

YangSpace v0.3.1

Build Status

Summary

Confluence-like blog.

Visit yangspace.co.kr

This repository is desecrated.
Blog is served with kingsj0405.github.io now.

Main Feature

Release

Things to do on release branch

Run for Production

Requirement

Deploy requires following:

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.

Django Pakcage