|
@@ -11,6 +11,12 @@ If you want use `PostgreSQL` as database engine:
|
11
|
11
|
|
12
|
12
|
If you already use/know `PostgreSQL`, you can directly go to *Test the database access*.
|
13
|
13
|
|
|
14
|
+#### Driver ####
|
|
15
|
+
|
|
16
|
+Tracim uses the `psycopg` driver between the `SQLAlchemy` ORM and the `PostgreSQL` RDBMS. Run the following command to install the right version:
|
|
17
|
+
|
|
18
|
+ pip install -r install/requirements.postgresql.txt
|
|
19
|
+
|
14
|
20
|
#### Allowing local connections on PostgreSQL ####
|
15
|
21
|
|
16
|
22
|
Debian `PostgreSQL` stores connections authorization in `/etc/postgresql/9.1/main/pg_hba.conf`. Edit this file and check that connection from `127.0.0.1` are allowed using user/password. You should find the following line in the file:
|
|
@@ -79,9 +85,9 @@ Or if you want to use `MySQL` as database engine
|
79
|
85
|
|
80
|
86
|
#### Driver ####
|
81
|
87
|
|
82
|
|
-Tracim uses the `PyMySQL` driver between the `SQLAlchemy` ORM and the `MySQL` RDBMS. The only requirement is a pip installable package:
|
|
88
|
+Tracim uses the `PyMySQL` driver between the `SQLAlchemy` ORM and the `MySQL` RDBMS. Run the following command to install the right version:
|
83
|
89
|
|
84
|
|
- pip install PyMySQL
|
|
90
|
+ pip install -r install/requirements.mysql.txt
|
85
|
91
|
|
86
|
92
|
#### Create database ####
|
87
|
93
|
|