create-sip 0.14.2 → 0.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,10 +14,10 @@ Copy **config/default.json.example** to **config/default.json** file.
14
14
 
15
15
  ## APP KEY generation
16
16
 
17
- Run the genkey tools:
17
+ Run the genkey:
18
18
 
19
19
  ```cmd
20
- node tools/genkey.js
20
+ node op key:generate
21
21
  ```
22
22
 
23
23
  ## Database settings
@@ -44,7 +44,7 @@ After installing the appropriate dependencies, it can be used:
44
44
  * snowflake
45
45
  * oracle
46
46
 
47
- With the `sqlite` option, the database is stored in the `database.sqlite` file, or you can add :memory:, then the database is stored in memory.
47
+ With the `sqlite` option, the usual path setting is `database.sqlite`. The default storage is :memory:, where data is stored in memory only.
48
48
 
49
49
  ## Starting
50
50
 
@@ -60,6 +60,17 @@ Run productum:
60
60
  npm start
61
61
  ```
62
62
 
63
+ ## Model and controller creation
64
+
65
+ You can generate a model and controller with the following commands:
66
+
67
+ ```bash
68
+ node op create model thing
69
+ node op create controller thing
70
+ ```
71
+
72
+ The name after the model and controller statements must be given in the singular.
73
+
63
74
  ## Licence
64
75
 
65
76
  May be freely distributed under the MIT license.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-sip",
3
- "version": "0.14.2",
3
+ "version": "0.14.3",
4
4
  "main": "index.js",
5
5
  "bin": {
6
6
  "create-sip": "create-sip.js"