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

Fix installation instructions #1012

Merged
merged 2 commits into from
Oct 25, 2021
Merged

Conversation

davidbrochart
Copy link
Member

No description provided.

@github-actions
Copy link
Contributor

Binder 👈 Try it on binder (branch davidbrochart/voila/fix_doc)

conda activate voila

# download voila from your GitHub fork
git clone https://github.com/<your-github-username>/voila.git

# install JS dependencies and build js assets
cd voila/js
cd voila
npm install
Copy link
Member

Choose a reason for hiding this comment

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

Should it be yarn install?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't know, npm install worked for me 😄

Copy link
Member

Choose a reason for hiding this comment

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

But I see we have yarn.lock files around so it seems we actually use yarn and not npm?

Copy link
Member Author

Choose a reason for hiding this comment

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

No idea.

Copy link
Member

Choose a reason for hiding this comment

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

Well we shouldn't mix yarn and npm, so we need to make a choice. I guess if we have yarn around we should stop using npm. Or we remove the yarn.lock and commit the package-lock.json npm generates.

Copy link
Member

Choose a reason for hiding this comment

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

I personally prefer npm over yarn but since we had the yarn.lock already, we should stick with yarn

Copy link
Member

Choose a reason for hiding this comment

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

+1 on sticking with yarn from my side. It seems to be faster and the lock file is smaller.

npm install -g yarn

yarn can be installed from conda-forge.

@trungleduc
Copy link
Member

Failed tests are not related.

@trungleduc
Copy link
Member

Thank @davidbrochart!

@trungleduc trungleduc merged commit 14a0c52 into voila-dashboards:main Oct 25, 2021
@jtpio jtpio added this to the 0.2.x milestone Oct 27, 2021
@jtpio
Copy link
Member

jtpio commented Oct 27, 2021

@meeseeksdev please backport to 0.2.x

meeseeksmachine pushed a commit to meeseeksmachine/voila that referenced this pull request Oct 27, 2021
trungleduc added a commit that referenced this pull request Oct 27, 2021
…2-on-0.2.x

Backport PR #1012 on branch 0.2.x (Fix installation instructions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants