Проект ещё жив!

This commit is contained in:
2023-12-20 06:08:13 +03:00
parent a573faf5a1
commit 8d74a51937
23 changed files with 358 additions and 143 deletions

View File

@@ -4,10 +4,14 @@
We are using MariaDB, but any MySQL-compatible database should be enough. There are instructions how to setup it for using with E949.
1. Login to your SQL database with admin account:
```bash
mysql -u root -p
```
2. Setup new user and database:
```mysql
CREATE USER e949@localhost IDENTIFIED BY 'password';
CREATE DATABASE e949 CHARACTER SET = 'utf8';
@@ -16,10 +20,14 @@ FLUSH PRIVILEGES;
EXIT
```
3. Login with new account:
```bash
mysql -u e949 -p
```
4. Create tables:
```mysql
USE e949;
CREATE TABLE users (
@@ -72,4 +80,6 @@ CREATE TABLE invites (
CREATE TABLE approved_tags (
value VARCHAR(255) NOT NULL COMMENT 'The tag itself'
);
```
```
5. Profit!!!