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

viur create is not functional when there is no project.json #165

Open
phorward opened this issue Jul 18, 2024 · 1 comment
Open

viur create is not functional when there is no project.json #165

phorward opened this issue Jul 18, 2024 · 1 comment
Labels
bug Something isn't working Priority: High After critical issues are fixed, these should be dealt with before any further issues. viur-meeting Issues to discuss in the next ViUR meeting

Comments

@phorward
Copy link
Member

phorward commented Jul 18, 2024

I want to setup a new, clean project. This isn't possible with viur-cli.

$ viur create 
ERROR: project.json not found - please check if you are in the right folder.

It is a contradiction that viur-cli requires a project.json, although the new project is to be created first. This makes no sense at all, and a solution must be worked out so that viur-cli can be used sensibly both with and without project.json.

In general, the project.json should only be read when a project-specific command is executed. For example, viur --help or viur --version is not a command that requires a project, just like viur create.

@phorward phorward added bug Something isn't working viur-meeting Issues to discuss in the next ViUR meeting Priority: High After critical issues are fixed, these should be dealt with before any further issues. labels Jul 18, 2024
@phorward
Copy link
Member Author

phorward commented Jul 18, 2024

At the same time, please also integrate clean-base.py into viur create so that it can be removed from the base. Likewise, viur-gcloud-setup.sh is still executed in viur create, although it has already been integrated into cli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority: High After critical issues are fixed, these should be dealt with before any further issues. viur-meeting Issues to discuss in the next ViUR meeting
Projects
None yet
Development

No branches or pull requests

1 participant