diff --git a/contributing/FRONTEND.md b/contributing/FRONTEND.md index a93f52085..19b623b1d 100644 --- a/contributing/FRONTEND.md +++ b/contributing/FRONTEND.md @@ -49,8 +49,8 @@ For frontend development, run a `webpack` dev server: npm run start ``` -The `webpack` dev server expects the API to be running on `http://127.0.0.1:3001`. So ensure to run the API on port `3001`: +The `webpack` dev server expects the API to be running on `http://127.0.0.1:8000`. So ensure to run the API on port `8000`: ```shell -dstack server --port 3001 +dstack server --port 8000 ``` diff --git a/frontend/src/pages/Project/Backends/YAMLForm/constants.tsx b/frontend/src/pages/Project/Backends/YAMLForm/constants.tsx index 37c789201..1117521af 100644 --- a/frontend/src/pages/Project/Backends/YAMLForm/constants.tsx +++ b/frontend/src/pages/Project/Backends/YAMLForm/constants.tsx @@ -1,45 +1,67 @@ import React from 'react'; export const CONFIG_YAML_HELP_SKY = { - header:
- The backend config is defined in the YAML
format. It specifies the backend's type
and
- settings, such as creds
, regions
, and so on.
+ The backend config is defined in the YAML format. It specifies the backend's type
and settings,{' '}
+ such as creds
, regions
, and so on.
+
+ If you set creds
's type
to dstack
, you'll get compute from{' '}
+ dstack
's marketplace and will pay for it via your dstack Sky
user billing. Example:
Example:
type: aws{'\n'} creds:{'\n'} - {' '}type: default{'\n'} - {' '}access_key: AIZKISCVKUK{'\n'} - {' '}secret_key: QSbmpqJIUBn1 + {' '}type: dstack{'\n'}
- Each backend type may support different properties. See the{' '} - reference page for more examples. + You can see all supported backend types at the{' '} + + documentation + + . +
+
+ If you want to use your own cloud account, configure creds
and other settings according to the{' '}
+
+ documentation
+
+ . Example:
+
+
+ type: aws{'\n'} + creds:{'\n'} + {' '}type: access_key{'\n'} + {' '}access_key: AIZKISCVKUK{'\n'} + {' '}secret_key: QSbmpqJIUBn1 +> ), }; export const CONFIG_YAML_HELP_ENTERPRISE = { - header:
- The backend config is defined in the YAML
format. It specifies the backend's type
and
- settings, such as creds
, regions
, and so on.
+ The backend config is defined in the YAML format. It specifies the backend's type
and settings,
+ such as creds
, regions
, and so on.
Example:
type: aws{'\n'} creds:{'\n'} - {' '}type: default{'\n'} + {' '}type: access_key{'\n'} {' '}access_key: AIZKISCVKUK{'\n'} {' '}secret_key: QSbmpqJIUBn1