Skip to content

Commit

Permalink
Add Mac OS dependencies notes
Browse files Browse the repository at this point in the history
  • Loading branch information
vnishukov committed Sep 14, 2020
1 parent 5d09639 commit f6766c7
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,21 @@ patches and features.

## Development environment

Next steps should work on clear Ubuntu 18.04.
## Mac OS 10.15

- Install necessary dependencies:
```sh
brew install git python pyenv redis curl openssl
```

- Install Python 3.6
```sh
pyenv update
pyenv install -v 3.6
pyenv global 3.6
```

## Ubuntu 18.04

- Install necessary dependencies:
```sh
Expand All @@ -21,6 +35,7 @@ Next steps should work on clear Ubuntu 18.04.
# Node and npm (you can use default versions of these packages from apt (8.*, 3.*), but we would recommend to use newer versions)
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
```

- Install [Visual Studio Code](https://code.visualstudio.com/docs/setup/linux#_debian-and-ubuntu-based-distributions)
for development
Expand Down Expand Up @@ -53,6 +68,15 @@ for development
cd cvat-core && npm install && \
cd ../cvat-ui && npm install && npm start
```
## Note for Mac users
If you faced with error
```sh
Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (57)
```
Run command below and reinstall npm packages for all projects again
```sh
npm rebuild node-sass
```

- Open new terminal (Ctrl + Shift + T), run Visual Studio Code from the virtual environment
```sh
Expand Down

0 comments on commit f6766c7

Please sign in to comment.