Quellcode durchsuchen

Reviews path of 'gearbox' calls in readme file

Adrien Panay vor 6 Jahren
Ursprung
Commit
8db3a3850c
1 geänderte Dateien mit 11 neuen und 14 gelöschten Zeilen
  1. 11 14
      README.md

+ 11 - 14
README.md Datei anzeigen

@@ -121,8 +121,6 @@ Get the sources from GitHub:
121 121
     git clone https://github.com/tracim/tracim.git
122 122
     cd tracim/
123 123
 
124
-*Note: Now everything is documented to be executed from the tracim directory newly created.*
125
-
126 124
 ## Frontend dependencies ##
127 125
 
128 126
 [//]: # ( from https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions)
@@ -157,15 +155,16 @@ Activate it in your terminal session (**all tracim command execution must be exe
157 155
 
158 156
 Install Tracim and its dependencies:
159 157
 
160
-    cd tracim && python setup.py develop && cd -
161
-    pip install -r install/requirements.txt
158
+    cd tracim/
159
+    python setup.py develop
160
+    pip install -r ../install/requirements.txt
162 161
 
163 162
 ## Configuration files ##
164 163
 
165 164
 Create configuration files for a development environment and for `WsgiDAV`:
166 165
 
167
-    cp tracim/development.ini.base tracim/development.ini
168
-    cp tracim/wsgidav.conf.sample tracim/wsgidav.conf
166
+    cp development.ini.base development.ini
167
+    cp wsgidav.conf.sample wsgidav.conf
169 168
 
170 169
 ## Translation ##
171 170
 
@@ -178,13 +177,11 @@ Compile translation binary files from available catalogs:
178 177
 The last step before running the application is to initialize the database
179 178
 schema. This is done through the following command:
180 179
 
181
-    cd tracim && gearbox setup-app && cd -
182
-
183
-## Running the paste http server ##
180
+    gearbox setup-app
184 181
 
185
-    gearbox serve
182
+## Running Tracim ##
186 183
 
187
-While developing, the following command may be more convenient:
184
+The two parameters are optional but useful to reload the server upon code changes and to get debug data:
188 185
 
189 186
     gearbox serve --reload --debug
190 187
 
@@ -204,10 +201,10 @@ Which should result in something like this:
204 201
     Starting HTTP server on http://0.0.0.0:8080
205 202
 
206 203
 You can now enter the application at
207
-[http://localhost:8080](http://localhost:8080) and login with admin user.
204
+[http://localhost:8080](http://localhost:8080) and login with admin user:
208 205
 
209
- * user : admin@admin.admin
210
- * password : admin@admin.admin
206
+ * user : `admin@admin.admin`
207
+ * password : `admin@admin.admin`
211 208
 
212 209
 If admin user not created yet, execute following command:
213 210