uberserver, a matchmaking/chat lobby server for the spring rts project
Uberserver is a lobbyserver written in python for spring lobby clients. It is currently used as the main lobby server running at lobby.springrts.com port 8200.
This project is built using Python 3. Make sure you have the following installed before proceeding:
Python 3SQLAlchemyGeoIPTwistedFor Debian/Ubuntu:
libssl-1.0-devlibgeoip-devlibmariadbclient-dev or libmysqlclient-dev# apt update
# apt install libssl1.0-dev libgeoip-dev libmariadbclient-dev
git clone git@github.com:spring/uberserver.git
virtualenv ~/virtenvs/uberserver
source ~/virtenvs/uberserver/bin/activate
pip install -r requirements.txt
Build and run the local server:
cd docker
docker-compose build
docker-compose up
To find the container ID:
docker ps
Access the database and add users:
docker exec -it your_container_id bash
sqlite3 local_server.db
Use the following command to log in:
docker logs your_container_id
The address will look like “private: 192.168.100.17:8200”. Use it to log in with user1/123.
Activate the virtual environment and start the server:
source ~/virtenvs/uberserver/bin/activate
./server.py
$PWD/server.logRefer to https://springrts.com/wiki/Uberserver for more details.
For any issues or questions, refer to the server logs or Docker logs. You can also raise issues on the GitHub Repository.