You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sudo cp extras/nginx.conf /etc/nginx/sites-available/rosu.conf
sudo ln -s /etc/nginx/sites-available/rosu.conf /etc/nginx/sites-enabled/rosu.conf
# Edit this file replacing `your.domain` with your domain and `path/to/certs` with the path to the certs generated from cloudflare
sudo nano /etc/nginx/sites-avaiable/rosu.conf
mysql setup
sudo service mysql start
sudo mysql
CREATE DATABASE YOUR_DB_NAME;# create a user to use the bancho.py database
CREATE USER 'YOUR_DB_USER'@'localhost' IDENTIFIED BY 'YOUR_DB_PASSWORD';# grant the user full access to all tables in the bancho.py database
GRANT ALL PRIVILEGES ON YOUR_DB_NAME.* TO 'YOUR_DB_USER'@'localhost';
FLUSH PRIVILEGES;
quit
# prepare db
mysql -u YOUR_DB_USER -p YOUR_DB_NAME < USSR/extras/db.sql