If I were you, I'd use virtualenv. Install that first:
$ sudo pip install virtualenv
$ virtualenv /opt/venv/ssm
$ source /opt/venv/ssm/bin/activate
Note: The name of your virtual env will appear inside parenthesis: (ssm)
in this example.
If you don't see that, maybe you didn't source the proper activate script!
(ssm)$ cd /opt/sw
(ssm)$ git clone git://github.com/FernFerret/servermanager.git
(ssm)$ cd servermanager
(ssm)$ pip install -r requirements.txt
Copy the provided servermanager/settings.cfg.example
to
servermanager/settings.cfg
and edit the values inside it. The big one is
the STEAM_API_KEY
. You can get one from here:
http://steamcommunity.com/dev/apikey.
Once you've started it up, simply login with steam. The first user who logs in will become an administrator and can add other users.
After this, you're on your own for now, until I feel like writing more documentation...
You can either use the provided wsgi script, or to get going quickly, just run: To get going ASAP, just run:
(ssm)$ python runservermanager.py
Don't forget to source your virtualenv script first!
When you've given it all of your tweaks, use the provided wsgi script to add to Apache!
TODO: Show my apache config!