Browse Source

update cli doc

Guénaël Muller 6 years ago
parent
commit
5a7c79df7f
1 changed files with 8 additions and 5 deletions
  1. 8 5
      doc/cli.md

+ 8 - 5
doc/cli.md View File

@@ -1,4 +1,4 @@
1
-## TracimCli ##
1
+# TracimCli #
2 2
 
3 3
 Tracim has a build-in command line tool.
4 4
 
@@ -6,12 +6,11 @@ Tracim has a build-in command line tool.
6 6
 
7 7
 This document is intended to developers or sysadmin.
8 8
 
9
-In order to use the `tracimcli` commands, change your current directory to be `tracim/` from the root of the project, also usually named `tracim/` 
9
+In order to use the `tracimcli` commands, go to the root of the project and
10 10
 and active the Tracim virtualenv:
11 11
 
12
-    user@host:~/tracim_backend$ cd tracim/
13
-    user@host:~/tracim_backend/tracim$ source env/bin/activate
14
-    (env) user@host:~/tracim_backend/tracim$
12
+    user@host:~/tracim_backend$ source env/bin/activate
13
+    (env) user@host:~/tracim_backend$
15 14
 
16 15
 ## Database ##
17 16
 
@@ -38,6 +37,10 @@ and active the Tracim virtualenv:
38 37
 
39 38
     tracimcli -h
40 39
     
40
+## Run services ##
41 41
 
42
+### Webdav wsgidav server ###
43
+
44
+    tracimcli webdav start
42 45
 
43 46