yo-ru / old-gulag-web

A partially finished, depreciated frontend PHP instance for a gulag based osu! private server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

THIS IS AN ARCHIVED REPOSITORY! This was the original code for gulag-web before it was rewritten in Python!

Have a look around, it's quite antient.

Discord

The frontend service for the modern osu! private server, gulag!

Disclaimer: While the project itself is actually in a usable state.. it's still missing some features..

Features

  • Nearly full completion of registration, login, and leaderboards! More soon~!
  • Undergoing active development!
  • Clean and concise code, easy to make small modifications and add to the codebase.

Project focuses and goals

  1. A focus on the developer. With this project I aim to keep code as simple and concise as possible, while still maintaining high performance.

  2. Developing features for the frontend should be an enjoyable and thought-provoking experience of finding new ideas; when the codebase makes that difficult, programming loses the aspect of fun and everything becomes and activity that requires effort. I'm trying my best to never let this code get to that state.

Requirements

  • PHP 7.2
  • MySQL
  • NGINX
  • Some know-how with Linux (tested on Ubuntu 18.04), PHP, and general-programming knowledge.

Setup

Setup is relatively simple, the commands should basically be copy-pastable.

If you have any difficulties setting up gulag-web, feel free to join the Discord server at the top of the README, we now have a bit of a community!

# Install MySQL, NGINX, and PHP 7.2.
sudo apt install mysql-server nginx php7.2-fpm php7.2-mysqli

# Clone gulag-web from GitHub.
git clone https://github.com/yo-ru/gulag-web.git
cd gulag-web

# Import gulag-web's MySQL structure to the gulag database.
sudo mysql -u root gulag < db.sql

# Add and configure gulag-web's NGINX 
# config to your nginx/sites-enabled.
sudo ln -r -s nginx.conf /etc/nginx/sites-enabled/gulag-web.conf
sudo nano nginx.conf

# Configure gulag-web.
cp config.sample.php config.php
nano config.php

Debugging/Development

# You can view PHP errors by tailing NGINX's error log.
sudo tail /var/log/nginx/error.log -n 200

About

A partially finished, depreciated frontend PHP instance for a gulag based osu! private server.

License:MIT License


Languages

Language:PHP 96.0%Language:CSS 4.0%