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

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

Merged
merged 1 commit into from
Feb 3, 2025

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