-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '203-display-selections-metadata' of https://github.com/…
…debiai/debiai into 203-display-selections-metadata
- Loading branch information
Showing
7 changed files
with
101 additions
and
61 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
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
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
.EXPORT_ALL_VARIABLES: | ||
|
||
# Install dependencies | ||
install: | ||
cd backend && pip install -r requirements.txt | ||
cd frontend && npm install | ||
|
||
# Run the application in development mode | ||
run_backend: | ||
cd backend && python websrv.py | ||
|
||
run_frontend: | ||
cd frontend && npm run serve | ||
|
||
start: | ||
make run_backend & make run_frontend | ||
|
||
code: | ||
code backend | ||
code frontend | ||
|
||
|
||
# Code quality | ||
format: | ||
# ----- Formatting Python code with Black | ||
cd backend && black . | ||
|
||
# ----- Formatting JavaScript code with Prettier | ||
cd frontend && npm run prettier | ||
|
||
check: | ||
# ----- Validating Black code style | ||
cd backend && black --check --diff . | ||
|
||
# ----- Validating Flake8 code style | ||
cd backend && flake8 . | ||
|
||
# ----- Validating Prettier code style | ||
cd frontend && npm run prettier:check | ||
|
||
# ----- Validating CSpell errors | ||
cspell --no-progress . | ||
|
||
# ----- The code is formatted correctly |