Skip to content

Commit 46e91f3

Browse files
committed
✨ Statistics, Whoop export parsing, bump deps
1 parent 994a287 commit 46e91f3

File tree

8 files changed

+1224
-606
lines changed

8 files changed

+1224
-606
lines changed

.github/sc_program.png

130 KB
Loading

.github/sc_statistics.png

242 KB
Loading

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ FROM python:3.12-slim
1111
WORKDIR /app
1212
# Touch the files
1313
COPY backend .
14-
RUN pip install --no-cache-dir -r requirements.txt
14+
RUN pip install -r requirements.txt
1515
# Copy to /app/frontend, where /app has the backend python files also
1616
COPY --from=build /app/dist/wingfit/browser ./frontend
1717
EXPOSE 8080

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ source venv/bin/activate
100100
# Install dependencies
101101
pip install .
102102

103-
# Run the backend, port :8080
103+
# Run the backend, port :8000
104104
fastapi run fastapp:app
105105
```
106106

@@ -125,20 +125,25 @@ cp -r dist/wingfit/browser /var/www/html
125125

126126
## 📸 Demo <a name = "demo"></a>
127127

128+
A demo is available at [Wingfit.fr](https://wingfit.fr).
129+
128130
<div align="center">
129131

130132
| | |
131133
|:-------:|:-------:|
132-
| ![](./.github/sc_planning.png) | ![](./.github/sc_programs.png) |
133-
| ![](./.github/sc_pr.png) | ![](./.github/sc_blocs.png) |
134+
| ![](./.github/sc_planning.png) | ![](./.github/sc_blocs.png) |
135+
| ![](./.github/sc_pr.png) | ![](./.github/sc_statistics.png) |
136+
| ![](./.github/sc_programs.png) | ![](./.github/sc_program.png) |
134137

135138
</div>
136139

137140
<br>
138141

139142
## 🚧 Roadmap <a name = "roadmap"></a>
140143

141-
New features coming soon<sup>TM</sup>, check out the development plan in the [Roadmap Wiki](https://github.com/itskovacs/wingfit/wiki/Roadmap).
144+
New features coming soon<sup>TM</sup>, check out the development plan in the [Roadmap Wiki](https://github.com/itskovacs/wingfit/wiki/Roadmap). If you have ideas 💡, feel free to open an issue.
145+
146+
If you want to develop new feature, feel free to open a pull request (see [🤝 Contributing](#contributing)).
142147

143148
<br>
144149

docker-compose.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
services:
2-
wingfit:
2+
app:
33
build: .
4-
container_name: wingfit
54
ports:
65
- 127.0.0.1:8080:8000 #127.0.0.1: locally exposed, on port 8080 by default
76
volumes:
8-
- ./storage:/app/storage
9-
command: ["fastapi", "run", "/app/fastapp.py", "--host", "0.0.0.0"]
7+
- storage:/app/storage
8+
command: ["fastapi", "run", "/app/fastapp.py", "--host", "0.0.0.0"]
9+
10+
volumes:
11+
storage:

src/angular.json

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@
2020
"outputPath": "dist/wingfit",
2121
"index": "src/index.html",
2222
"browser": "src/main.ts",
23-
"polyfills": [
24-
"zone.js"
25-
],
23+
"polyfills": ["zone.js"],
2624
"tsConfig": "tsconfig.app.json",
2725
"inlineStyleLanguage": "scss",
2826
"assets": [
@@ -80,10 +78,7 @@
8078
"test": {
8179
"builder": "@angular-devkit/build-angular:karma",
8280
"options": {
83-
"polyfills": [
84-
"zone.js",
85-
"zone.js/testing"
86-
],
81+
"polyfills": ["zone.js", "zone.js/testing"],
8782
"tsConfig": "tsconfig.spec.json",
8883
"inlineStyleLanguage": "scss",
8984
"assets": [
@@ -92,9 +87,7 @@
9287
"input": "public"
9388
}
9489
],
95-
"styles": [
96-
"src/styles.scss"
97-
],
90+
"styles": ["src/styles.scss"],
9891
"scripts": []
9992
}
10093
}

0 commit comments

Comments
 (0)