Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(dev): add Makefile to include dev (only?) shortcuts #3298

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

jacquesfize
Copy link
Contributor

@jacquesfize jacquesfize commented Dec 31, 2024

This PR propose developer oriented shortcuts using a MakeFile.

This allows :

  • run install backend
  • run install frontend
  • run creation of the stock database of GeoNature
  • run the celery worker
  • run the backend
  • run the frontend
  • show database status

TODO

  • run migration (include download archive ? )

Discussed in #3300

@jacquesfize jacquesfize changed the title feat(dev): add Makefile to include dev shortcuts feat(dev): add Makefile to include dev (only?) shortcuts Dec 31, 2024
Copy link

codecov bot commented Dec 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.91%. Comparing base (87a6540) to head (f7c48ae).
Report is 3 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3298   +/-   ##
========================================
  Coverage    83.91%   83.91%           
========================================
  Files          122      122           
  Lines         9698     9698           
========================================
  Hits          8138     8138           
  Misses        1560     1560           
Flag Coverage Δ
pytest 83.91% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Makefile Outdated
@@ -0,0 +1,63 @@
SHELL := /bin/bash

mode?=dev
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tu peux rajouter un ptit "geonature.makefile.env" en fichier séparé. Optionnel et ignoré par git.
Ca permettrait de rdéfinir les différentes variables par projet, sans problème de versioning, nin rien

@jacquesfize jacquesfize marked this pull request as ready for review January 6, 2025 15:50
@jacquesfize jacquesfize merged commit a5a65c1 into develop Jan 6, 2025
9 checks passed
@jacquesfize jacquesfize deleted the add-makefile branch January 6, 2025 15:51
@camillemonchicourt camillemonchicourt added this to the 2.15.1 milestone Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants