-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into M3-9420-nb-vpc-feature-flag
- Loading branch information
Showing
180 changed files
with
24,747 additions
and
11,990 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
yarn workspaces run precommit | ||
pnpm run -r --workspace-concurrency=1 --if-present precommit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,47 +10,52 @@ | |
8. Install Node.js 20.17 LTS. We recommend using [Volta](https://volta.sh/): | ||
|
||
```bash | ||
|
||
$ curl https://get.volta.sh | bash | ||
curl https://get.volta.sh | bash | ||
|
||
## Add volta to your .*rc file, or open a new terminal window. | ||
|
||
$ volta install [email protected] | ||
volta install [email protected] | ||
|
||
$ node --version | ||
node --version | ||
## v20.17.0 | ||
|
||
``` | ||
|
||
9. Install the latest version of Yarn: | ||
9. Install pnpm v10 using Volta or view the [pnpm docs](https://pnpm.io/installation) for more installation methods | ||
|
||
```bash | ||
$ npm install --global yarn --upgrade | ||
# 1.22.10 | ||
volta install pnpm@10 | ||
|
||
pnpm --version | ||
# 10.2.0 | ||
``` | ||
|
||
10. Navigate to the root directory of the repository, then start Cloud Manager and the JS client with `yarn up`. | ||
11. After installation, Cloud Manager should be running at `http://localhost:3000`. | ||
10. Navigate to the root directory of the repository | ||
11. Run `pnpm bootstrap` to install dependencies and perform an initial build of our packages | ||
12. Run `pnpm dev` to start the local development server. Cloud Manager should be running at `http://localhost:3000` | ||
|
||
## Serving a production build of Cloud Manager | ||
|
||
You can then serve these files however you prefer or use our included local http server. | ||
You can build a production bundle of Cloud Manager and serve it locally. | ||
|
||
```bash | ||
yarn install:all | ||
pnpm install | ||
|
||
pnpm run --filter @linode/validation build # build the @linode/validation package | ||
|
||
pnpm run --filter @linode/api-v4 build # build the @linode/api-v4 (it depends on @linode/validation) | ||
|
||
yarn workspace linode-manager build | ||
pnpm run --filter linode-manager build # build a production bundle of Cloud Manager | ||
|
||
yarn workspace linode-manager run start:ci | ||
pnpm run --filter linode-manager start:ci # start a local http server on http://localhost:3000/ | ||
``` | ||
|
||
## Exposing Cloud Manager's dev server to the network | ||
|
||
By default, Cloud Manager's dev server only listens on `localhost`. If you need to | ||
expose the Vite dev server, you can use the following command. | ||
expose the Vite dev server to all network interfaces, you can use the following command. | ||
|
||
> **Note**: This is useful for running Cloud Manager's dev server in Docker-like environments | ||
```bash | ||
yarn up:expose | ||
pnpm run up:expose | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.