Skip to content

Commit

Permalink
Readme changes and package bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgelfond committed Jul 23, 2023
1 parent 4ace636 commit 324ac39
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 9 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ Modify `ROOT` and `STORAGE_TYPE` variables inside app.py to point to another
storage location.

## Run the frontend

NOTE: Must use Node v16. You're likely on a newer version, but will need to downgrade in order to view. We recommend using [node version manager](https://github.com/nvm-sh/nvm) in the (likely) case you have multiple versions of node on your computer. Once installed just run `nvm install 16` and `nvm use 16` and you should be set.


```
cd viewer
npm install
Expand Down
3 changes: 3 additions & 0 deletions server/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## Run in development

NOTE: if you are using poetry >= 1.22, you should first run ``poetry config experimental.new-installer false`` to use the old installer. You can check your poetry version with ``poetry --version``.

```
poetry install
poetry run python app.py
Expand Down
4 changes: 2 additions & 2 deletions server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ class StorageType(Enum):
S3 = 2


ROOT = "lk-iceland-personal"
STORAGE_TYPE = StorageType.S3
ROOT = "/Users/focus/Downloads/derived/KerasPretrained"
STORAGE_TYPE = StorageType.Local


def read_etype(local_fp: Path) -> str:
Expand Down
9 changes: 6 additions & 3 deletions viewer/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# example

NOTE: mtriage-viewer was built with Node 16. You're likely on a newer version, but will need to downgrade in order to view. We recommend using [node version manager](https://github.com/nvm-sh/nvm) in the (likely) case you have multiple versions of node on your computer. Once installed just run `nvm install 16` and `nvm use 16` and you should be set.

## Project setup
```
npm install
cp example.env .env
```

### Compiles and hot-reloads for development
## Compiles and hot-reloads for development

```
npm run serve
npm run dev
```

### Compiles and minifies for production
Expand All @@ -27,4 +30,4 @@ npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
See [Configuration Reference](https://cli.vuejs.org/config/).
8 changes: 4 additions & 4 deletions viewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@
"dev": "vue-cli-service serve"
},
"dependencies": {
"axios": "^0.19.2",
"axios": "^1.4.0",
"chokidar": "^3.4.3",
"core-js": "^3.6.5",
"vue": "^2.6.12",
"vuetify": "^2.3.10",
"vuex": "^3.5.1"
},
"devDependencies": {
"@vue/cli": "^4.5.6",
"@vue/cli-plugin-babel": "^4.5.6",
"@vue/cli-service": "^4.5.6",
"@vue/cli": "^5.0.8",
"@vue/cli-plugin-babel": "^5",
"@vue/cli-service": "^5.0.8",
"sass": "^1.26.10",
"sass-loader": "^10.0.2",
"vue-template-compiler": "^2.6.12"
Expand Down

0 comments on commit 324ac39

Please sign in to comment.