Skip to content

Commit

Permalink
update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Feb 3, 2025
1 parent 8eb7606 commit d022291
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ PG_USER_PASSWD ?= gn_passwd

GEONATURE_APP_NAME ?= 'DEV'

WITH_SAMPLE_DATA ?= true
WITH_SAMPLE_DATA ?= false

MODULE_DASHBOARD_TAG ?= 1.5.0
MODULE_EXPORT_TAG ?= 1.7.2
Expand All @@ -38,7 +38,7 @@ GEONATURE_LOCAL_CONFIG_FILE = config/geonature_config.toml

GEONATURE_DEFAULT_SETTING_FILE = config/settings.ini.sample
GEONATURE_LOCAL_SETTING_FILE = config/settings.ini
GEONATURE_APP_SECRET_KEY ?= '8551a7a-64a4-4216-bda4-9a919fcc7a27'
GEONATURE_APP_SECRET_KEY ?= 'yoursecretkey'

default: help

Expand Down Expand Up @@ -152,6 +152,13 @@ db_status:
autoupgrade:
source backend/venv/bin/activate && geonature db autoupgrade

supergrant:
source backend/venv/bin/activate && geonature permissions supergrant --group --nom "Grp_admin" --yes

compile_requirements:
source backend/venv/bin/activate && cd backend && piptools compile requirements.in
source backend/venv/bin/activate && cd backend && piptools compile requirements-dev.in

test_frontend:
cd frontend && source ~/.nvm/nvm.sh && nvm use && npm run cypress:run

Expand Down

0 comments on commit d022291

Please sign in to comment.