Skip to content

Commit 552891e

Browse files
authored
Merge pull request #37 from team4099/update-readme
2 parents 7a617a1 + 7a0998c commit 552891e

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
FalconVis is a powerful data visualization and strategy generation platform built using Streamlit in Python. The system is built on top of data generated by [FalconScout](https://github.com/Team4099/FalconScout), Team 4099's scouting app.
44

55
### Developing with FalconVis
6-
- [Contributing to FalconVis](/docs/CONTRIBUTING.md)
6+
- [Contributing to FalconVis](/docs/CONTRIBUTING.md)
7+
- [Deploying Falconvis](/docs/DEPLOYMENT.md)

docs/DEPLOYMENT.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# FalconVis Deployment
2+
3+
We use Streamlit to deploy FalconVis for competitions.
4+
5+
### Create Competition Branch
6+
7+
1. Create a new branch for the competiton
8+
```bash
9+
git checkout -b <event code>
10+
```
11+
2. Edit [constants.py](../src/utils/constants.py) `EventSpecificConstants`:
12+
- Set the new `EVENT_CODE` and `EVENT_NAME`
13+
3. Commit and push.
14+
15+
---
16+
17+
### Deploy on Streamlit.io
18+
19+
1. Visit: [https://streamlit.io](https://streamlit.io)
20+
2. Deploy app
21+
- Use the branch you just created
22+
- Use `Teams.py` as your file path
23+
- Use the naming scheme falconvis-[event code][event year]
24+
25+
![](streamlit.png)
26+
27+
---
28+
29+
### Local Deployment
30+
31+
There have often been issues during events where FalconVis cannot load, especially in areas like pits. For that reason,
32+
it has been made possible to pull data from a JSON instead of from GitHub. Place the data at the file path defined in
33+
[constants.py](../src/utils/constants.py) (`EventSpecificConstants.LOCAL_JSON_PATH`), and run with
34+
```bash
35+
python -m streamlit run app.py
36+
```
37+
> **NEVER EVER EVER** push the backup match data to Git. Verify that the path is in the `.gitignore`.

docs/streamlit.png

52.8 KB
Loading

0 commit comments

Comments
 (0)