Auto-tools/Projects/GrafxBot/Install: Difference between revisions
< Auto-tools | Projects
Jump to navigation
Jump to search
| Line 15: | Line 15: | ||
2. Edit resultserv/settings.py, and update DATABASE_USER, DATABASE_PASSWORD, and DATABASE_HOST as appropriate. | 2. Edit resultserv/settings.py, and update DATABASE_USER, DATABASE_PASSWORD, and DATABASE_HOST as appropriate. | ||
3. Create a database named 'resultserv' in MySQL. | |||
4. In the resultserv directory, enter the command: | |||
python manage.py syncdb | |||
This should generate the necessary SQL tables. When prompted for a superuser, add one of your choice. | |||
Revision as of 23:25, 19 January 2011
Installing GrafxBot servers
Prerequisites
- MySQL Community Server 5.x from http://mysql.com/downloads/mysql/; install the server, client utilities, and development libraries
- Python 2.6
- MySQL-Python from http://sourceforge.net/projects/mysql-python/
- Django 1.2.x
Installation Steps
1. Download the Django GrafxBot app:
hg clone http://bitbucket.org/jonallengriffin/resultserv
2. Edit resultserv/settings.py, and update DATABASE_USER, DATABASE_PASSWORD, and DATABASE_HOST as appropriate.
3. Create a database named 'resultserv' in MySQL.
4. In the resultserv directory, enter the command:
python manage.py syncdb
This should generate the necessary SQL tables. When prompted for a superuser, add one of your choice.