Skip to content

Comments

Add daiquiri-admin and scripts for npm, build, clean#256

Merged
jochenklar merged 1 commit intodevfrom
daiquiri_admin
Feb 3, 2025
Merged

Add daiquiri-admin and scripts for npm, build, clean#256
jochenklar merged 1 commit intodevfrom
daiquiri_admin

Conversation

@jochenklar
Copy link
Member

This PR ports some functionality I developed for RDMO last year over to Daiquiri. I adds an daiquiri-admin executable that can be used in any directory. Right now, I can be used for 3 things:

daiquiri-admin npm run [watch|build|build:prod]  # shortcut for nvm use and npm run ...

daiquiri-admin build  # build the front-end and then the python package

daiquiri-admin clean [all|dist|media|npm|python|static]  # removes files which are gitignored

@jochenklar jochenklar requested a review from kimakan January 27, 2025 10:47
@jochenklar jochenklar self-assigned this Jan 27, 2025
Copy link
Contributor

@kimakan kimakan left a comment

Choose a reason for hiding this comment

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

Looks good! I've tested it by building the package with daiquiri-admin build and releasing it on test.pypi (https://test.pypi.org/project/django-daiquiri/0.9.0.dev1/). The installment with pip worked wonderfully.

@jochenklar jochenklar merged commit 0279fe5 into dev Feb 3, 2025
2 of 10 checks passed
@jochenklar jochenklar deleted the daiquiri_admin branch February 3, 2025 12:03
@jochenklar
Copy link
Member Author

Glad you like it. New scripts can be added in the management/commands directories of the different daiquiri apps.

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.

2 participants