Tanza3D / osekai-wip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup

Clone the folder locally. Create a database using MySQL or MariaDB and import the template.sql. Put info into config.php.

Make oauth app on osu! and put in data to config.php, along with api v1 credentials.

Run php -S localhost:8080 in the folder, then access at http://localhost:8080

Database Setup

Create a new user, call it whatever, whatever password, just remember it.

Make a new database called osekai, you can name it whatever, but osekai is recommended. It's recommended to make it using utf8mb4_polish_ci

Run the template.sql file on this table, you can do this by just copying the content into a query tab and running it.

At that point you just need to fill in each field in config.php, and it should work.

Snapshots & Admin Panel

For Snapshots and Admin Panel to work, you must install the PHP gd Extension:

  • sudo apt install php-gd / sudo pacman -S php-gd and add to php.ini

On any issues - please contact me! (Hubz/Tanza)

Osekai Tools

Run git submodule update --init --recursive to pull all the tool source code, as they're in separate repositories.

Windows

On Windows, SSL will not function with cURL, and Login will not work. To fix, please download cacert.pem and place it in a folder. Then in your php.ini under [curl] add curl.cainfo = "C:\php\cacert.pem" and under [openssl] add openssl.cafile = "C:\php\cacert.pem". Should look like so:

image

You should now be able to login.

About

License:MIT License


Languages

Language:PHP 37.2%Language:JavaScript 33.7%Language:CSS 25.3%Language:HTML 2.2%Language:Hack 1.6%Language:Shell 0.1%Language:Dockerfile 0.0%