create-steedos-app 2.1.72 → 2.1.73
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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-steedos-app",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.73",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"steedos"
|
|
6
6
|
],
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"cpy": "7.3.0",
|
|
33
33
|
"fs-extra": "8.1.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "f653412d0a75971dd044cff2a87dc4cd0caf8c04"
|
|
36
36
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# create mongodb data directory
|
|
2
|
+
mkdir -p /workspace/mongodb/data/db
|
|
3
|
+
|
|
4
|
+
# create .env.local
|
|
5
|
+
cp .env .env.local
|
|
6
|
+
|
|
7
|
+
# replace ROOT_URL
|
|
8
|
+
root_replacement="ROOT_URL=$(gp url 5000)"
|
|
9
|
+
sed -i "/^ROOT_URL=*/c$root_replacement" .env.local
|
|
10
|
+
|
|
11
|
+
# replace METADATA_SERVER
|
|
12
|
+
meta_replacement="METADATA_SERVER=$(gp url 5000)"
|
|
13
|
+
sed -i "/^METADATA_SERVER=*/c$meta_replacement" .env.local
|