Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrbuslov/face-id-cafes
https://github.com/mrbuslov/face-id-cafes
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mrbuslov/face-id-cafes
- Owner: mrbuslov
- Created: 2023-03-31T16:22:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-28T18:13:23.000Z (over 1 year ago)
- Last Synced: 2024-01-20T21:26:54.441Z (11 months ago)
- Language: Python
- Size: 2.47 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Server
- **RUN** - `uvicorn src.main:app --reload --port 80 --host 127.0.0.1` (you have to be in backend folder)
- **Run celery locally** (you have to be in backend folder)
- Windows: `celery -A src.celery.worker.celery worker --loglevel=info --logfile=logs/celery/celery.log -P gevent`
- Others: `celery -A src.celery.worker.celery worker --loglevel=info --logfile=logs/celery/celery.log`# Linters
***Note***: if you want to run linters, go to directory - it can be either *backend* or *frontend*
Be sure to run the backend if you want to "linter" it.
- **Backend**:
- `python flake8`
Runs flake8 (django version). Changes you should make *by yourself*.
- `python black .`
Changes files due to PEP8 style using black library.
- **Frontend**:
- `npm run lint:styles`
Runs style linter in the terminal. You'll see the errors, connected with code style in *.css* files.
- `npm run lint:styles:fix`
Fixes majority of style errors. There may be some error, that you have to fix *by yourself*.