Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Xing Han Lu committed Feb 12, 2021
1 parent 11de036 commit bcf3f64
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@ environment.

## Downloading and running a single app

If you don't want to clone the entire repo, you can also download an individual app as a zip file (see the [releases](https://github.com/plotly/dash-sample-apps/releases)), decompress and run them. In the example below, replace `<name>` by the name of the app:
Visit the [releases page](https://github.com/plotly/dash-sample-apps/releases) and download and `unzip` the app you want. Then `cd` into the app directory and install its dependencies in a virtual environment in the following way:

```bash
wget https://github.com/plotly/dash-sample-apps/releases/latest/download/<name>.zip
unzip <name>.zip
cd <name>/
python -m venv venv
source venv/bin/activate # Windows: \venv\scripts\activate
pip install -r requirements.txt
```

then run the app:
```bash
python app.py
```

Expand Down

0 comments on commit bcf3f64

Please sign in to comment.