weiqi.gs is an open-source game server for the game of Go, also known as weiqi (围棋)
weiqi.gs tries to be clean, simple and easy-to-use, while still providing all the basic features expected from a go server.
Backend is written in python3.5, frontend in Vue.js:
pip install -r requirements.txtnpm install
Besides the dependencies in requirements.txt and package.json you may also need to install some additional libraries first:
$ sudo apt-get install python3-dev libpq-dev libjpeg-devBefore you can run the development server you will need to migrate the database. This step also needs to be run every time new DB migrations are created:
$ alembic upgrade headTo run the development server:
$ ./gulp.shAfter this the server will listen on http://localhost:8000 by default.
Initially the database will be empty, meaning that there are no rooms. To create a new default chat room:
$ ./main.py --create-room='Main Room'from https://github.com/liruqi/weiqi.im
No comments:
Post a Comment