Author : Shogun. Description : Shogun web, done in django.
From the admin page create a new ShogunPage and then create a new article that links to it. You will also need to edit the navbar to add your new page to the navbar
Adding Markdown pages from GitHub run:
PYTHONPATH=. util/gfmarkdown.py -d <path to shogun repo>
from the shogun web / directory to get the latest markdown files and prepare them for the website
/news : All news in its respectives years in HTML format.
/static :
/templates : All templates for each different page .
/pages :
/shogun :
/scripts : Some useful scripts for working on the site
parserHTML.py : Parse the news in "/news" (HTML format).
News : News loaded using parserHTML.py from /news.
- In root directory : python manage.py runserver port
- Admin ui access : http://ip/port/admin/
Obtain a mysql dump from the production server from someone with access
run the mysql2sqlite.sh script:
./mysql2sqlite.sh mysql.dump | sqlite3 shogun.sqlite
Do not commit the shogun.sqlite file as it contains real db user names etc.