-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tweaks for getting tracksight to work on Mac (#1278)
### Changelist <!-- Give a list of the changes covered in this PR. This will help both you and the reviewer keep this PR within scope. --> Get tracksight to work on MacOS. Also, delete a bunch of old files. Also also, add some documentation to the Python code. Duplicat of #1275 cuz I'm silly
- Loading branch information
1 parent
97c582e
commit 8f44cf0
Showing
37 changed files
with
88 additions
and
1,750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
frontend/logs | ||
frontend/*.log | ||
frontend/npm-debug.log* | ||
backend/**/*.log | ||
|
||
# Runtime data | ||
frontend/pids | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,12 @@ | ||
# ENV FLASK_APP=app.py | ||
# ENV FLASK_RUN_HOST=0.0.0.0 | ||
FROM python:3.11-slim | ||
FROM python:3.11 | ||
|
||
# for healthcheck | ||
RUN apt update && apt install -y curl && apt clean | ||
|
||
USER root | ||
WORKDIR /backend | ||
RUN pip install pipenv | ||
COPY environment/requirements.txt . | ||
RUN pip3 install -r requirements.txt | ||
|
||
WORKDIR /backend | ||
COPY Pipfile . | ||
COPY Pipfile.lock . | ||
RUN pipenv install --system --deploy | ||
|
||
WORKDIR /backend | ||
COPY ./software/tracksight/backend/ . | ||
COPY software/tracksight/backend/ . | ||
|
||
USER root | ||
WORKDIR /backend | ||
EXPOSE 5000 | ||
CMD ["python", "app/telemetry.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
1 change: 0 additions & 1 deletion
1
software/tracksight/backend/app/process/mock_data/customSignals/README.md
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
software/tracksight/backend/app/process/mock_data/data/README.md
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
software/tracksight/backend/app/process/mock_data/data/sample_data.csv
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.