Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 905 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 905 Bytes

CS2 Server Management Service (CS2SMS)

REST HTTP API based monolithic service for CS2 server management

installation

I suggest pyenv for running to avoid library conflicts, but you can do whatever

pyenv

pyenv install: https://github.com/pyenv/pyenv#getting-pyenv remember to update your bashrc, both for pyenv and pyenv-virtualenv

install python version

pyenv install 3.11.4

create virtual environment

pyenv virtualenv 3.11.4 cs-server-service

make sure you are in the project directory then set local (.python-version) to virtual-env

pyenv local cs-server-service

if pyenv is setup correctly you should now be in the pyenv virtual environment and can install libraries freely

pyenv version

to setup with vscode or pycharm, change interpreter to

~/.pyenv/versions/3.11.4/envs/cs-server-service-bin/python

installing python requirements

TODO