You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/deployment/createbooktype.rst
+7-13Lines changed: 7 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,16 @@
2
2
Createbooktype
3
3
==============
4
4
5
-
Createbooktype is Booktype's command-line utility for creating :doc:`Booktype projects </deployment/structure>` on the disk with auto generated configuration files.
5
+
Createbooktype is a command-line utility for creating :doc:`Booktype projects </deployment/structure>` with automatically generated configuration files.
<project location> can be full path to project location or name of the project.
14
+
<project location> can be the full path to the project location or the name of the project.
15
15
16
16
Example:
17
17
@@ -25,7 +25,7 @@ argument project name
25
25
26
26
.. note::
27
27
28
-
User must have write permissions to create or write to the project location. If project location already exists it will just create the needed files.
28
+
The user must have write permissions to create or write to the project location. If the project location already exists it will just create the needed files.
29
29
30
30
Options
31
31
=======
@@ -54,12 +54,6 @@ Show messages.
54
54
55
55
Configure *Project* to use specific database backend. Options are: "postgres", "postgresql", "sqlite".
56
56
57
-
.. code-block:: bash
58
-
59
-
--profile <type>
60
-
61
-
Configure *Project* to use profile <type>. Options are: "dev", "prod".
62
-
63
57
.. code-block:: bash
64
58
65
59
--check-versions
@@ -76,15 +70,15 @@ Specifies the default VIRTUAL_ENV
76
70
Examples of usage
77
71
=================
78
72
79
-
This will create project called **bk2** in current directory. It will use PostgreSQL database as a backend and automatically be set i$
73
+
This will create a project called **bk2** in the current directory. It will use the PostgreSQL database as a backend by default.
80
74
81
75
.. code-block:: bash
82
76
83
77
$ ./scripts/createbooktype bk2
84
78
85
79
86
-
This will create project called **mybk** in /var/www/ directory. It will use Sqlite3 as a backend and will be set in development prof$
80
+
This will create a project called **mybk** in the /var/www/ directory using Sqlite3 as a backend.
87
81
88
82
.. code-block:: bash
89
83
90
-
$ ./scripts/createbooktype --database sqlite3 --profile dev /var/www/mybk/
0 commit comments