https://github.com/flipperdevices/firmware-report-server
Flipper Zero FW build report analyzer backend
https://github.com/flipperdevices/firmware-report-server
Last synced: about 1 year ago
JSON representation
Flipper Zero FW build report analyzer backend
- Host: GitHub
- URL: https://github.com/flipperdevices/firmware-report-server
- Owner: flipperdevices
- Created: 2022-10-25T17:37:31.000Z (over 3 years ago)
- Default Branch: dev
- Last Pushed: 2024-05-13T12:03:30.000Z (about 2 years ago)
- Last Synced: 2025-04-01T03:51:11.558Z (about 1 year ago)
- Language: Python
- Size: 3.46 MB
- Stars: 5
- Watchers: 12
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# About
Flipper Zero FW build report analyzer backend
# Requirements
Docker or Python3 with pipenv module
# Development
You need to set the DATABASE_URI env variable to point to the db server, eg
`DATABASE_URI=mysql://user_name:password@host.dev/amap_reports`.
- `make run` - to start flask development server
- `make gunicorn` - to start gunicorn development server
- `make docker` - build `firmware-report-server` and tag with `latest`
- `make docker_gunicorn` - build docker image and start service
- `make install` - to install requirements
- `make shell` - activate pipenv shell, but other make commands won't work in that shell
# Testing
`curl -v http://127.0.0.1:5000/api/v0/branches`
# Production
- `make docker` - build `firmware-report-server` and tag with `latest`
- Upload to container docker repository