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

Added pnpm to conda requirements #1073

Merged
merged 1 commit into from
Sep 28, 2023
Merged

Conversation

marcus-oscarsson
Copy link
Member

No description provided.

@marcus-oscarsson marcus-oscarsson merged commit 82b7650 into develop Sep 28, 2023
9 of 10 checks passed
@marcus-oscarsson marcus-oscarsson deleted the mo-fix-conda-req branch September 28, 2023 14:14
@axelboc
Copy link
Collaborator

axelboc commented Sep 28, 2023

Should all the npm install --global pnpm@8 I've added everywhere be removed (as well as the actions to install pnpm on the CI)? Is it also possible to pin the version to 8 (and maybe the nodejs version to 20)?

@fabcor-maxiv
Copy link
Contributor

@marcus-oscarsson @axelboc

Should all the npm install --global pnpm@8 I've added everywhere be removed

I am redoing the develop installation instruction steps right now... and yes I noticed that we ask to install pnpm explicitly (and globally, which I find strange, won't it create issues later on?) although it does not seem necessary since it is already in the conda dependencies.

I do not know about pinning, I have not given it any thought yet.

@marcus-oscarsson
Copy link
Member Author

It makes things a bit easier if one does not need to do npm install --global pnpm@8 and I thought it was better to add it in conda as we are using it in anyways. Id be in favor of pinning as well and installing pnpm through conda.

@fabcor-maxiv
Copy link
Contributor

fabcor-maxiv commented Oct 6, 2023

easier if one does not need to do npm install --global pnpm@8 and I thought it was better to add it in conda

Do we agree to remove this step from the installation instructions?

If yes, this also means the conda environment should be activated before. In other words we need to move the instruction stepconda activate mxcubeweb before pnpm --prefix ui build.

@marcus-oscarsson
Copy link
Member Author

Sounds good !

@fabcor-maxiv
Copy link
Contributor

I created the pull request #1083 to address this. Turns out there was already a step to activate the conda environment above so it was not necessary to move any step around.

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