Skip to content

Commit

Permalink
Add setup.ps1.
Browse files Browse the repository at this point in the history
  • Loading branch information
drasmart committed Feb 20, 2024
1 parent 44227e1 commit 554695e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
26 changes: 24 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,30 @@ If you want examples that demonstrate how to use 51Degrees products such as devi
To run the custom flow element example, you will need to use flask:
### Linux

Execute `export FLASK_APP=client_side_evidence_custom_flow_element.py`, then start your application with `flask run`.
Install packages
```shell
pwsh ./setup.ps1
```
Set path to the script
```sh
export FLASK_APP=client_side_evidence_custom_flow_element.py
```
then start your application with
```sh
flask run
```

### Windows

Execute `$env:FLASK_APP = "client_side_evidence_custom_flow_element.py"`, then start your application with `flask run`.
Install packages
```shell
pwsh ./setup.ps1
```
Set path to the script
```pwsh
$env:FLASK_APP = "client_side_evidence_custom_flow_element.py"
```
then start your application with
```pwsh
flask run
```
5 changes: 5 additions & 0 deletions setup.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
python -m pip install -e fiftyone_pipeline_cloudrequestengine/
python -m pip install -e fiftyone_pipeline_core/
python -m pip install -e fiftyone_pipeline_engines/
python -m pip install -e fiftyone_pipeline_engines_fiftyone/
python -m pip install flask

0 comments on commit 554695e

Please sign in to comment.