Forum Setup
You are viewing an old version of this entry, click here to see latest version.
HaXe forum setup
The Haxe forum is open sourced by Nicolas, if you wish to improve it for your own use or for the community here are instructions for getting setup and any notes on installation.
In order to setup the wiki
Download the latest sources.
Install Haxe + Neko
- Requires Haxe 2.09+, currently only available from the nightly builds.
Install mtwin and templo libraries
haxelib install mtwinhaxelib install templo
Install MySql Database Server
- Download MySql Database Server
- Create a database, call it hxwiki.
Configure Website
- Copy config.tpl.xml as config.xml and configure the db field with your local mysql database server
db="mysql://root:@localhost:3306/hxwiki"
Create temploc executable
cd wwwhaxelib run templocd ../
Compile and Run
haxe project.hxmlcd wwwnekotools server -rewrite- Visit http://localhost:2000/
- It should automaticly create the database tables
- refresh to start using!
Default Admin Login
User: admin
Pass: admin
Forum Setup
To setup the forum :
- go to your
hxwikidatabase
- go to
grouprightstable. For each group do the following- copy or duplicate each row, changing
pathtoforumandisForumto1. - save the row.
- copy or duplicate each row, changing
- go to
forumthemetable. Insert a new row withpathset toforum.- save the row.
- (re)start
nekotools server -rewrite
- visit
http://localhost:2000/forum- you should see an empty forum!
Config Options
Website Theme
- set
style="haxe"for old design - set
style="haxe2"for new design
Enable Google Search
- set gsearch
gsearch="1"
Troubleshooting
- Access denied for user 'root'@''...
Read here for possible reasons and solutions. You probably need to add a password in the config.xml:db="mysql://root:yourPassword@localhost:3306/hxwiki" - Field 'x' doesn't have a default value
Read here for possible reasons and solutions. You probably have strict mode enabled in your my.ini config file.
You can remove STRICT_TRANS_TABLES fromsql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
version #14417, modified 2012-07-12 03:48:09 by jan_flanders