Quellcode durchsuchen

Fixes documentation

Adrien Panay vor 6 Jahren
Ursprung
Commit
a980d103e7
3 geänderte Dateien mit 23 neuen und 29 gelöschten Zeilen
  1. 21 3
      README.md
  2. 2 2
      doc/database.md
  3. 0 24
      tracim/README.txt

+ 21 - 3
README.md Datei anzeigen

@@ -107,11 +107,13 @@ Following the installation documentation below, you'll be able to run your own i
107 107
 
108 108
 # Installation #
109 109
 
110
-## Debian dependencies ##
110
+## Distribution dependencies ##
111 111
 
112 112
 You'll need to install the following packages :
113 113
 
114
-    sudo apt install git realpath python3 python-virtualenv python3-dev python-pip build-essential libxml2-dev libxslt1-dev python-lxml zlib1g-dev redis-server
114
+    sudo apt install git realpath redis-server \
115
+                     python3 python-virtualenv python3-dev python-pip  python-lxml \
116
+                     build-essential libxml2-dev libxslt1-dev zlib1g-dev
115 117
 
116 118
 ## Get the source ##
117 119
 
@@ -166,13 +168,21 @@ Create configuration files for a development environment and for `WsgiDAV`:
166 168
     cp tracim/development.ini.base tracim/development.ini
167 169
     cp tracim/wsgidav.conf.sample tracim/wsgidav.conf
168 170
 
169
-## database schema ##
171
+## Database schema ##
170 172
 
171 173
 The last step before running the application is to initialize the database
172 174
 schema. This is done through the following command:
173 175
 
174 176
     cd tracim && gearbox setup-app && cd -
175 177
 
178
+## Running the paste http server ##
179
+
180
+    gearbox serve
181
+
182
+While developing, the following command may be more convenient:
183
+
184
+    gearbox serve --reload --debug
185
+
176 186
 ## Running the standalone server ##
177 187
 
178 188
 Now you can run the standalone server:
@@ -200,6 +210,14 @@ If admin user not created yet, execute following command:
200 210
 
201 211
 Enjoy :)
202 212
 
213
+# Going further #
214
+
215
+Here is additional documentation about configuring:
216
+
217
+ * [Apache](doc/apache.md)
218
+ * [PostgreSQL, MySQL and SQLAlchemy](doc/database.md)
219
+ * [Tracim](doc/setting.md)
220
+
203 221
 # Support and Community #
204 222
 
205 223
 Building the community is a work in progress.

+ 2 - 2
doc/database.md Datei anzeigen

@@ -3,7 +3,7 @@
3 3
 
4 4
 ## PostgreSQL ##
5 5
 
6
-If you want use `PostgreSQL` as database engine:
6
+If you want to use `PostgreSQL` as database engine:
7 7
 
8 8
     sudo apt install postgresql-server-dev-all postgresql postgresql-client
9 9
 
@@ -13,7 +13,7 @@ If you already use/know `PostgreSQL`, you can directly go to *Test the database
13 13
 
14 14
 #### Driver ####
15 15
 
16
-Tracim uses the `psycopg` driver between the `SQLAlchemy` ORM and the `PostgreSQL` RDBMS. Run the following command to install the right version:
16
+Tracim uses the `psycopg2` driver between the `SQLAlchemy` ORM and the `PostgreSQL` RDBMS. Run the following command to install the right version:
17 17
 
18 18
     pip install -r install/requirements.postgresql.txt
19 19
 

+ 0 - 24
tracim/README.txt Datei anzeigen

@@ -1,24 +0,0 @@
1
-This file is for you to describe the pod application. Typically
2
-you would include information such as the information below:
3
-
4
-Installation and Setup
5
-======================
6
-
7
-Install ``pod`` using the setup.py script::
8
-
9
-    $ cd pod
10
-    $ python setup.py develop
11
-
12
-Create the project database for any model classes defined::
13
-
14
-    $ gearbox setup-app
15
-
16
-Start the paste http server::
17
-
18
-    $ gearbox serve
19
-
20
-While developing you may want the server to reload after changes in package files (or its dependencies) are saved. This can be achieved easily by adding the --reload option::
21
-
22
-    $ gearbox serve --reload --debug
23
-
24
-Then you are ready to go.