mirror of
https://git.sr.ht/~iwakuralain/text0Nly
synced 2025-07-27 15:36:11 +00:00
updated readme
This commit is contained in:
parent
5c28f478a6
commit
4ce34662b3
10
README
10
README
@ -14,7 +14,12 @@ Installation:
|
|||||||
|
|
||||||
CREATE DATABASE messenger;
|
CREATE DATABASE messenger;
|
||||||
USE messenger;
|
USE messenger;
|
||||||
source main/db.sql;
|
|
||||||
|
# For new installation:
|
||||||
|
source main/create.sql
|
||||||
|
|
||||||
|
# For updating existing installation:
|
||||||
|
source main/migrate.sql
|
||||||
|
|
||||||
# Create user with password
|
# Create user with password
|
||||||
CREATE USER 'messenger'@'localhost' IDENTIFIED BY 'your_secure_password';
|
CREATE USER 'messenger'@'localhost' IDENTIFIED BY 'your_secure_password';
|
||||||
@ -79,7 +84,8 @@ Files:
|
|||||||
configs/apache.conf.debian - Apache config for Debian/Alpine
|
configs/apache.conf.debian - Apache config for Debian/Alpine
|
||||||
configs/php.ini - PHP configuration
|
configs/php.ini - PHP configuration
|
||||||
main/config.php - Database configuration (create from config.php.example)
|
main/config.php - Database configuration (create from config.php.example)
|
||||||
main/db.sql - Database structure
|
main/create.sql - Initial database structure
|
||||||
|
main/migrate.sql - Database migrations
|
||||||
main/index.php - Main page
|
main/index.php - Main page
|
||||||
main/register.php - Registration
|
main/register.php - Registration
|
||||||
main/api.php - Message API
|
main/api.php - Message API
|
||||||
|
Loading…
x
Reference in New Issue
Block a user