689b1a804b
Added an executable file. Only works on Windows, if it doesn't work, then try building it for yourself with build.bat or go build Tweaked run.bat to make it more firewall friendly. It now generates an executable. Moved the files around to make it more organised. Added build.bat which you can use to build the program for you and install the libraries the software depends on.
15 lines
353 B
Go
15 lines
353 B
Go
package main
|
|
|
|
// Database details
|
|
var dbhost = "127.0.0.1"
|
|
var dbuser = "root"
|
|
var dbpassword = "password"
|
|
var dbname = "grosolo"
|
|
var dbport = "3306" // You probably won't need to change this
|
|
|
|
// Limiters
|
|
var max_request_size = 5 * megabyte
|
|
|
|
// Misc
|
|
var default_route = route_topics
|
|
var staff_css = "background-color: #ffeaff;background-position: left;" |