Skip to content

Commit

Permalink
chore: update Readme with python note + package version update (#486)
Browse files Browse the repository at this point in the history
Signed-off-by: Nastya Rusina <[email protected]>

Co-authored-by: Nastya Rusina <[email protected]>
  • Loading branch information
apTalya and anrusina authored May 19, 2022
1 parent 324b4f5 commit 821299e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,24 @@ For help with installing dependencies look into

4. Explore your local copy at `http://localhost:3000`

### Note: Python errors with OSX

Recently OSX (12.3) removed python 2.7 from default installation and this can cause build errors for some users depending on it's setup. In this repository you can experience `env: python: No such file or directory` error from gyp ([node-gyp](https://github.com/nodejs/node-gyp)).
The easiest way to fix it:
- Install the XCode Command Line Tools standalone by running `xcode-select --install` in the terminal
OR
``` bash
brew install python # install python with brew
which python # check if python path is properly defined
# if path not defined
where python3
# Take the version and location from above and run this command (replacing `/usr/bin/python3` with the location of your python instalation). This will symlink python to python3
ln -s /usr/bin/python3 /usr/local/bin/python
```
### Environment Variables
* `ADMIN_API_URL` (default: [window.location.origin](https://developer.mozilla.org/en-US/docs/Web/API/Window/location>))
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flyteconsole",
"version": "1.1.0-rc1",
"version": "1.1.0",
"private": true,
"description": "The web UI for the Flyte platform",
"repository": {
Expand Down Expand Up @@ -72,4 +72,4 @@
"@babel/preset-react": "~7.16.7",
"@babel/preset-typescript": "~7.16.7"
}
}
}
2 changes: 1 addition & 1 deletion packages/zapp/console/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flyteconsole/client-app",
"version": "1.1.0-rc1",
"version": "1.1.0",
"description": "The web UI for the Flyte platform",
"repository": {
"type": "git",
Expand Down

0 comments on commit 821299e

Please sign in to comment.