Skip to content

Commit 2593dc8

Browse files
authored
added optional env FORCE_CPU and updated README (makeplane#4446)
1 parent 18ba400 commit 2593dc8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

deploy/selfhost/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ This will prompt you with the below options.
9696

9797
```bash
9898
Select a Action you want to perform:
99-
1) Install (arm64)
99+
1) Install (x86_64)
100100
2) Start
101101
3) Stop
102102
4) Restart
@@ -344,7 +344,7 @@ Similarly, you can view the logs of other services.
344344

345345
There would a time when you might want to backup your data from docker volumes to external storage like S3 or drives.
346346

347-
Lets again run the `./setup.sh` command. You will again be prompted with the below options. This time select `8` to view logs.
347+
Lets again run the `./setup.sh` command. You will again be prompted with the below options. This time select `7` to Backup the data.
348348

349349
```bash
350350
Select a Action you want to perform:

deploy/selfhost/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ fi
390390

391391
# CPU ARCHITECHTURE BASED SETTINGS
392392
CPU_ARCH=$(uname -m)
393-
if [[ $CPU_ARCH == "amd64" || $CPU_ARCH == "x86_64" || ( $BRANCH == "master" && ( $CPU_ARCH == "arm64" || $CPU_ARCH == "aarch64" ) ) ]];
393+
if [[ $FORCE_CPU == "amd64" || $CPU_ARCH == "amd64" || $CPU_ARCH == "x86_64" || ( $BRANCH == "master" && ( $CPU_ARCH == "arm64" || $CPU_ARCH == "aarch64" ) ) ]];
394394
then
395395
USE_GLOBAL_IMAGES=1
396396
DOCKERHUB_USER=makeplane

0 commit comments

Comments
 (0)