Skip to content

Commit

Permalink
Merge pull request #48 from mlexchange/update-readme-with-instruction…
Browse files Browse the repository at this point in the history
…s-for-local-tiled-server

📝 Update README.md
  • Loading branch information
hannahker authored Jul 20, 2023
2 parents 3d1939a + 0e9d241 commit e749003
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ API_KEY='<key-provided-on-request>'
python app.py
```

### Local tiled connection

To start local tiled connection:
1. Add `SERVE_LOCALLY=True` flag to `env` file (or to your environmental variables)
2. Start the app once, which will create `data/` directory and download 2 sample projects with 2 images each.
3. Open a second terminal and run `tiled serve directory --public data`.

The app will now connect to the local tiled server.

# Copyright
MLExchange Copyright (c) 2023, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.

Expand Down

0 comments on commit e749003

Please sign in to comment.