Skip to content
Satori's personal website
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
accounts
blogs
custom_files
fileupload
games
locale/zh_Hans/LC_MESSAGES
mysite
.gitignore
manage.py
mysite_nginx.conf
mysite_uwsgi.ini
readme.md
requirements.txt

readme.md

Satori's personal website

This is the source code of my site. If you have any questions or suggestions please let me know. View my site immediately! Thanks for your feedback~

python version requirements

python >= 3.5

Setup

1. Migrate and collect static files

  1. execute the following command.
python3 manage.py migrate
python3 manage.py collectstatic

2. Make i18n works

  1. Rename the standard avatar locale folder from 'zh-CN' to 'zh-Hans' to make i18n work. Example command:
mv /usr/local/lib/python3.5/dist-packages/avatar/locale/zh-CN /usr/local/lib/python3.5/dist-packages/avatar/locale/zh-Hans
  1. execute the following command.
cp custom_files/Markdown.Editor.js static/pagedown/Markdown.Editor.js

3. Add the background files

  1. Create media/background folder and move all your background there, at least 6 pictures is required.
  2. Create media/background/H folder and move all hidden images there, at least 1 picture is required.

4. Add the emoticon files

  1. Create media/emoticon folder and move all your emoticon folders there. In each emoticon folder, put all your emoticons in that folder. The emoticons' name should never contain the following characters: [, ], , while names with pure numbers are recommended.
You can’t perform that action at this time.