up templates

This commit is contained in:
Tykayn 2025-05-26 19:03:34 +02:00 committed by tykayn
parent b1965abe06
commit f15fec6d18
12 changed files with 185 additions and 105 deletions

View file

@ -21,6 +21,19 @@ déployer sur un serveur ayant du php 8
créer un utilisateur et sa base
## en postgresql
```shell
sudo -u postgres psql -c "CREATE USER sf WITH PASSWORD 'sfrgdHYJi56631lyshFSQGfd45452ùwdf54f8fg5dfhg5_tyfdgthIOPHFUGH';"
sudo -u postgres psql -c "CREATE DATABASE \"osm-my-commerce\" OWNER sf;"
```
## en mysql
```shell
mysql -u root -p
CREATE USER 'sf'@'localhost' IDENTIFIED BY 'sfrgdHYJi56631lyshFSQGfd45452ùwdf54f8fg5dfhg5_tyfdgthIOPHFUGH';
CREATE DATABASE `osm-my-commerce`;
GRANT ALL PRIVILEGES ON `osm-my-commerce`.* TO 'sf'@'localhost';
FLUSH PRIVILEGES;
```