Skip to content

Commit

Permalink
Setting env in correct place, update readme
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <[email protected]>
  • Loading branch information
aaronchongth committed Jul 30, 2024
1 parent bacf8b8 commit d600d2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ on:
- main
env:
CI: true
NODE_OPTIONS: --openssl-legacy-provider
jobs:
unit-tests:
name: Unit Tests
Expand All @@ -33,7 +32,7 @@ jobs:
run: apt update && apt install -y python3-venv python-is-python3
- name: bootstrap
env:
NODE_OPTIONS: '--max_old_space_size=4096'
NODE_OPTIONS: '--max_old_space_size=4096 --openssl-legacy-provider'
uses: ./.github/actions/bootstrap
with:
package: rmf-dashboard
Expand Down
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,10 @@ Open-RMF Web is a collection of packages that provide a web-based interface for

We currently support [Ubuntu 22.04](https://releases.ubuntu.com/jammy/), [ROS 2 Humble](https://docs.ros.org/en/humble/index.html) and Open-RMF's [22.09](https://github.com/open-rmf/rmf/releases/tag/22.09) release. Other distributions may work as well, but is not guaranteed.

Install [nodejs](https://nodejs.org/en/download/package-manager/) >= 16,
```bash
sudo apt update && sudo apt install curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
nvm install 16
```

Install pnpm and nodejs
```bash
curl -fsSL https://get.pnpm.io/install.sh | bash -
pnpm env use --global 16
pnpm env use --global 18
```

Install pipenv
Expand Down Expand Up @@ -75,6 +68,7 @@ source /opt/ros/humble/setup.bash
source /path/to/workspace/install/setup.bash

cd packages/dashboard
export NODE_OPTIONS=--openssl-legacy-provider
pnpm start
```

Expand Down

0 comments on commit d600d2a

Please sign in to comment.