edgeone 1.0.0 → 1.0.2
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 +13 -4
- package/edgeone-bin/edgeone.js +3973 -6
- package/edgeone-dist/cli.js +114914 -413
- package/package.json +10 -2
package/README.md
CHANGED
|
@@ -18,11 +18,11 @@ EdgeOne CLI can help you manage and debug Pages Functions in the project more ef
|
|
|
18
18
|
## 1. Preparations
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
-
|
|
21
|
+
- Quickly register and log in to the [Tencent Cloud Console](https://edgeone.ai/pages/new?s_url=https://console.tencentcloud.com/) using a Gmail account.
|
|
22
22
|
|
|
23
|
-
-
|
|
23
|
+
- Create a [Pages project](https://edgeone.ai/pages/new?s_url=https://console.tencentcloud.com/edgeone/pages) in the Console, and clone the repository to Local.
|
|
24
24
|
|
|
25
|
-
*If you are a China site user, please go to the corresponding [Pages](https://console.cloud.tencent.com/edgeone/pages)
|
|
25
|
+
*If you are a China site user, please go to the corresponding [Pages](https://console.cloud.tencent.com/edgeone/pages) console.*
|
|
26
26
|
|
|
27
27
|
<br />
|
|
28
28
|
|
|
@@ -41,7 +41,7 @@ Use the `edgeone -v` command to check if the installation is successful. Use the
|
|
|
41
41
|
|
|
42
42
|
### 2. Log in
|
|
43
43
|
|
|
44
|
-
Execute the login command
|
|
44
|
+
Execute the login command, follow the prompts to select `Global` (International) or `China`, then complete the login in the pop-up browser window.
|
|
45
45
|
``` plaintext
|
|
46
46
|
edgeone login
|
|
47
47
|
```
|
|
@@ -113,6 +113,15 @@ edgeone pages link
|
|
|
113
113
|
After local development and debugging are completed, push the project code to the Git remote to trigger the CI build and deployment in the Pages backend, completing the entire development process.
|
|
114
114
|
|
|
115
115
|
|
|
116
|
+
|
|
117
|
+
### 7. Switching Accounts
|
|
118
|
+
|
|
119
|
+
If you need to switch to another Tencent Cloud account, you can execute the following command and then log in again:
|
|
120
|
+
``` plaintext
|
|
121
|
+
edgeone switch
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
|
|
116
125
|
<br/>
|
|
117
126
|
|
|
118
127
|
## References
|