mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
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:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
@@ -1,5 +0,0 @@
|
||||
rowtree-Lucy
|
||||
sydrec-SINA
|
||||
ravensdale-Blunt
|
||||
ravensdale-Skuld
|
||||
serithi-REMNANT
|
||||
1
config/example/custom_items.txt
Normal file
1
config/example/custom_items.txt
Normal file
@@ -0,0 +1 @@
|
||||
ckey: name: /path/to/obj
|
||||
1
config/example/custom_sprites.txt
Normal file
1
config/example/custom_sprites.txt
Normal file
@@ -0,0 +1 @@
|
||||
ckey-state
|
||||
@@ -1 +0,0 @@
|
||||
Most valid html will work in motd.txt (excluding imgs)
|
||||
Reference in New Issue
Block a user