Moved every config file into an "example" directory, to help prevent git screwing with local testing environments.

Details have been added to README.md.

Signed-off-by: Mloc-Argent <colmohici@gmail.com>
This commit is contained in:
Mloc-Argent
2013-08-16 19:55:23 +01:00
parent da9482c40b
commit 21152fac09
20 changed files with 8 additions and 36 deletions

View File

@@ -58,6 +58,12 @@ When you have done this, you'll need to recompile the code, but then it should w
---
### Configuration
For a basic setup, simply copy every file from config/example to config.
---
### SQL Setup
The SQL backend for the library and stats tracking requires a MySQL server. Your server details go in /config/dbconfig.txt, and the SQL schema is in /SQL/tgstation_schema.sql. More detailed setup instructions arecoming soon, for now ask in our IRC channel.

View File

@@ -1,30 +0,0 @@
Create a databse at the same location where the server MySQL databse is. (as defined in config/dbconfig.txt under ADDRESS and PORT) It can be a separate database or the same one, as you wish. Create the following table in it: (name needs to remain as 'erro_feedback')
CREATE TABLE IF NOT EXISTS `erro_feedback` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`time` datetime NOT NULL,
`round_id` int(8) NOT NULL,
`var_name` varchar(32) NOT NULL,
`var_value` int(16) DEFAULT NULL,
`details` text,
PRIMARY KEY (`id`)
);
Open the file config/dbconfig.txt and edit the following lines:
FEEDBACK_DATABASE test
FEEDBACK_LOGIN mylogin
FEEDBACK_PASSWORD mypassword

View File

@@ -1,5 +0,0 @@
rowtree-Lucy
sydrec-SINA
ravensdale-Blunt
ravensdale-Skuld
serithi-REMNANT

View File

@@ -0,0 +1 @@
ckey: name: /path/to/obj

View File

@@ -0,0 +1 @@
ckey-state

View File

@@ -1 +0,0 @@
Most valid html will work in motd.txt (excluding imgs)