Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Lisa Yii committed Dec 9, 2021
2 parents a109630 + 2bc8326 commit 3021af1
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 25 deletions.
41 changes: 16 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,29 @@

### Setup your virtual environment, Python 3.8.10+

* python3 -m virtualvenv venv
* cd venv
* source bin/env
* pip3 install -r requirements.txt

Start Spyder, open dash_app_test_1.py in Spyder, and run it.
It should start a DASH server.
Point your browser to ```localhost:8050```, the default DASH server settings, and you should see it.

### Stylesheets | CSS
```bash
python3 -m virtualvenv venv
cd venv
source bin/env
pip3 install -r requirements.txt
```

DASH can use custom style sheets, and one can point external ones, i.e
Then run the index.py application

```python
external_stylesheets = ["https://codepen.io/chriddyp/pen/bWLwgP.css"]
```bash
python3 index.py
```

Or a relative location, as simple as that.
Uncomment that in the py file and specify the css location
Point your browser to ```localhost:8050```, the default DASH server settings, and you should see it.
The application is [live on Heroku](https://datavizmultlab.herokuapp.com/)

```python
app = dash.Dash(__name__, external_stylesheets=external_stylesheets)
```
## Author

Or if one for example creates a custom CSS in css/ dir
```python
custom_css = os.path.join(os.getcwd(), "css", "custom_css_filename.css")
app = dash.Dash(__name__, external_stylesheet=custom_css)
```
Luis Barrancos

Load ```lab_user_data.py``` on Spyder, run and point the browser to your ```127.0.0.1:8050```

## Credits

Afonso Lopes, Bruno Mascarenhas, Joáo Cardielos for the project video, audio.
Gabriel Chavarry for some related Unity work.


File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3021af1

Please sign in to comment.