Skip to content

Commit

Permalink
Set the minimum host requirements for Codespaces
Browse files Browse the repository at this point in the history
4 cores, 16GB RAM and 32GB storage is the minimum requirements for the API to build successfully from source.
  • Loading branch information
takenagain authored and CharlVS committed Jun 5, 2024
1 parent 2181747 commit 9832043
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@
"--privileged"
],
"workspaceMount": "source=${localWorkspaceFolder},target=/home/komodo/workspace,type=bind,consistency=delegated",
"workspaceFolder": "/home/komodo/workspace"
"workspaceFolder": "/home/komodo/workspace",
"hostRequirements": {
"cpus": 4,
"memory": "16gb",
"storage": "32gb"
}
}
4 changes: 2 additions & 2 deletions .docker/dev-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
set -e

sudo git config core.fileMode false
sudo chmod -R u+rwx /home/komodo
sudo chown -R komodo:komodo /home/komodo
sudo chmod -R u+rwx /home/komodo/workspace
sudo chown -R komodo:komodo /home/komodo/workspace
flutter pub get

curl -o assets/coins.json https://raw.githubusercontent.com/KomodoPlatform/coins/master/coins
Expand Down

0 comments on commit 9832043

Please sign in to comment.