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
Note that projectName and outputFolder are mandatory:
43
+
The command line will ask some questions about the project to create. (You can press enter to accept the default value, indicated between parenthesis, or type a new one):
44
44
45
45
***projectName**: short project name that will be used as the repository name on github, webapp path and name in package.json
46
+
***branch/tag**: the base branch/tag to use for the project (e.g. v2022.02.02, or master)
46
47
***projectType**: type of project to create, currently one type of projects is supported:
47
48
***standard**: is a copy of the standard MapStore project, ready to be used and customized
48
49
***projectVersion**: project version in package.json (X.Y.Z)
@@ -53,7 +54,15 @@ Note that projectName and outputFolder are mandatory:
53
54
Usage:
54
55
55
56
```sh
56
-
node ./createProject.js standard MyProject "1.0.0""this is my awesome project""" ../MY_PROJECT_NAME
57
+
node ./createProject.js
58
+
59
+
Project Type (standard):
60
+
MapStore base branch (master):v2023.01.01
61
+
Project Name: my_project
62
+
Project Version (1.0.0):
63
+
Project Description (Project Name):
64
+
Repository URL:
65
+
Output folder: ../my_project
57
66
```
58
67
59
68
At the end of the script execution, the given outputFolder will be populated by all the configuration files needed to start working on the project. Moreover, the local git repository will be initialized and the MapStore sub-module added and downloaded.
0 commit comments