@dcl/asset-packs 0.0.0-20230906220135.commit-6800ff7 → 0.0.0-20230907211116.commit-cb36602
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/README.md +2 -7
- package/bin/index.js +12098 -0
- package/dist/bin/index.js +12098 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -30,12 +30,6 @@ Go to this repo in your machine and do this:
|
|
|
30
30
|
3. Run `npm link` to allow other projects to symlink to this one.
|
|
31
31
|
4. Copy the path to the `bin/index.js` in this repo (something like `/Users/my-user/path/to/asset-packs/bin/index.js`).
|
|
32
32
|
|
|
33
|
-
Go the `builder-server` repo in your machine and do this:
|
|
34
|
-
1. Set the `DEV_SCENE_JS_PATH` env var in `.env` to the path you copied in the previous section.
|
|
35
|
-
2. Set the `DEV_SCENE_JS_PORT` to the port where the SDK7 started running (by defualt `8000`).
|
|
36
|
-
3. Run `npm start` to start the server (by default on port `5000`)
|
|
37
|
-
4. Run `npx local-ssl-proxy --source 5001 --target 5000`. Now the server can be used via HTTPS on port `5001`. You might need to open the browser on `https://localhost:5001` and acknowledge the warning message you will see there before the browser can make requests to it (this only needs to be done once). This is because the SSL certificate is self-signed and untrusted by default.
|
|
38
|
-
|
|
39
33
|
Go the `js-sdk-toolchain` repo in your machine and do this:
|
|
40
34
|
1. Run `cd packages/@dcl/inspector`.
|
|
41
35
|
2. Run `npm link @dcl/asset-packs` to symlink to your local repository
|
|
@@ -43,7 +37,8 @@ Go the `js-sdk-toolchain` repo in your machine and do this:
|
|
|
43
37
|
|
|
44
38
|
Go to the `builder` repo in your machine and do this:
|
|
45
39
|
1. Set the `REACT_APP_INSPECTOR_PORT` env var in `.env` to be `8001` (this is the `@dcl/inspector` dev server we started in the previous section).
|
|
46
|
-
|
|
40
|
+
1. Set the `REACT_APP_BIN_INDEX_JS_DEV_JS_PATH` env var in `.env` to the path to the `bin/index.js` that you copied in the first section.
|
|
41
|
+
2. Set the `REACT_APP_BIN_INDEX_JS_DEV_JS_PORT` to the port where the SDK7 started running (by defualt `8000`).
|
|
47
42
|
3. Run `npm start` to start the builder local server which should start on port `3000`
|
|
48
43
|
|
|
49
44
|
Now you are all set, you can start developing the SDK7 scene in this repo, use it from the local Builder and test it by previewing the scene, which should use your local Builder Server serving the development javascript files.
|