fsmash is the software that powers http://fsmash.org/. It requires node.js and MySQL.
cd
to thefsmash
directory- Run
make release
- Upload
/public
,/server
, and/shared
to the server - On the server:
- Install the IP geolocation database from http://www.maxmind.com/app/geolitecity
- Configure the server (see below)
- Configure the MySQL database (see below)
- Run
npm install bcrypt mysql
- Run
./server/index.js
Configuration files are stored in /server/config/
. JSON files in this folder are read (in order of Array.sort) and deep-merged to produce a single config object. Values in later files overwrite values for the same property in earlier files. Instead of changing the existing files, it is recommended to create an additional file that overrides any necessary default values. This file should be named such that it appears last when sorted.
Example zz01-secret.json
{
"PayPal": {
"verify": {
"receiver_email": "you@example.com"
}
},
"server": {
"port": 8001
},
"database": {
"password": ""
},
"GeoIP": {
"path": null
}
}
If you installed the IP geolocation database in the default location, you don't need to specify a path for it.
- Create the database schema using
/resources/database.sql
- Create some
channels
and add them topublicChannels
- Add
matchTypes
,rules
, andsoundsets
- Configure your account as an
administrator