Initial commit

This commit is contained in:
Yaser
2026-08-13 19:50:53 +03:30
commit 38084458fe
879 changed files with 95198 additions and 0 deletions

11
docs/databases/mariadb.md Normal file
View File

@@ -0,0 +1,11 @@
## How to use Peatio with MariaDB
Peatio supports MariaDB 10.2.7 and upper.
MariaDB json types are not well supported by Rails, to make the application work properly you need to enable explicit serialization and deserialization of JSON fields.
To do so, set the following environment variable:
```bash
export DATABASE_SUPPORT_JSON=false
```

View File

@@ -0,0 +1,9 @@
## How to use Peatio with PostgreSQL
Export the following variables:
```bash
export DATABASE_ADAPTER="postgresql"
export DATABASE_PORT="5432"
export DATABASE_COLLATION=""
```