yo-ru / ohasekai

My first osu related repo written in modern Python!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ohasekai

ohasekai is my take on osu! stable's bancho protocol.

Setup

Setup is as follows:

# clone repo
1. git clone https://github.com/yo-ru/ohasekai.git && cd ohasekai
2. git submodule update --init

# install os-related dependencies
3. sudo apt-add-repository ppa:deadsnakes
4. sudo apt install python3.10-dev python3.10-distutils cmake build-essential \ 
            mysql-server nginx certbot

# install py-related dependencies
5. wget https://bootstrap.pypa.io/get-pip.py
6. python3.10 get-pip.py && rm get-pip.py
7. python3.10 -m pip install -r requirements.txt

# import ohasekai's mysql structure to a pre-created database
8. mysql -u yourUsername -p yourDBName < ext/ohasekai.mysql

# configure nginx
sudo cp ext/nginx.conf /etc/nginx/sites-enabled/ohasekai.conf
sudo nano /etc/nginx/sites-enabled/ohaeskai.conf  # NOTE: finish configuring before continuing
sudo service nginx restart

# configure ohasekai
cp .env.example .env
nano .env

About

My first osu related repo written in modern Python!

License:MIT License


Languages

Language:Python 99.3%Language:Shell 0.7%