Skip to content
Go to file
Cannot retrieve contributors at this time
18 lines (18 sloc) 626 Bytes
# Builds an example forum with placeholder objects
# and an admin user with username 'admin', password 'password'.
# Requires that a postgreSQL database has been created for the forum.
# If you have used Pony Forum before, make sure that there is no
# forum/migrations/ folder, since that will break this script.
set -e # stops execution on error
rm -rf forum/migrations
python schemamigration forum --initial
python syncdb --noinput
python migrate forum
python _postinstall/
python _postinstall/
python _postinstall/
python test
You can’t perform that action at this time.