lensapp / lens

Lens - The way the world runs Kubernetes
https://k8slens.dev/
MIT License
22.4k stars 1.45k forks source link

No installation instructions for openlens #5972

Open paul-civitas opened 2 years ago

paul-civitas commented 2 years ago

The source code in this repo is licensed under the MIT license: https://github.com/lensapp/lens/blob/master/LICENSE

However the README links to installation instructions for a closed source commercial product, which I am not able to install.

It would be helpful if instructions for the MIT licensed openlens would be included in this MIT licensed repo.

ksemele commented 2 years ago

what about download git and run make build?

alebcay commented 2 years ago

For anyone who arrives here looking for instructions, git clone and make build was sufficient for me (after installing a compatible version of Node/Yarn). See also this more detailed build guide, which I'm linking here since it's buried in the middle of another thread.

There's further discussion on maintenance and improvement of OpenLens in https://github.com/lensapp/lens/issues/5444. A GitHub Actions manifest at https://github.com/MuhammedKalkan/OpenLens/blob/main/.github/workflows/main.yml used for building and distributing binary versions of OpenLens may also be helpful to follow.

Now that there are more significant differences between OpenLens and Lens IDE, I concur that it would be great if the documentation (either in the README or in analogous sections at https://docs.k8slens.dev/main/contributing) also covered any considerations for make build, as is already done for make dev, make clean, etc.

cupdike commented 2 years ago

Sorry Lens, it's one thing to pull a bait and switch on the license terms--you decided to twist arms to monetize it... ok, fine. But it is entirely another matter to structure the README on an open source project so that the Getting Started link under the Installation heading takes you to the installation page for the commercial product... and it's not entirely clear that that is what occurred.

I was considering getting the license but now I'm going try REALLY hard to only use the open source version because of this. Please change the README to truly respect the open source nature of OpenLens. In the meantime, it's only OpenLens for me....

micw commented 2 years ago

Found an easy to use build of OpenLens at https://github.com/MuhammedKalkan/OpenLens. On Archlinux, I just did trizen -R lens-bin && trizen -S lens - the builds lens from sources.

ksemele commented 2 years ago

@micw looks like a good point for make a PR into README.md I think... OpenLens builds must be in Readme on first rows!

sanarena commented 2 years ago

Here is a nice article that shows how to run binary version of this in macOS, Windows and Ubuntu: https://medium.com/dev-genius/is-it-time-to-migrate-from-lens-to-openlens-75496e5758d8

0xbilko commented 1 year ago

Found an easy to use build of OpenLens at https://github.com/MuhammedKalkan/OpenLens. On Archlinux, I just did trizen -R lens-bin && trizen -S lens - the builds lens from sources.

also u can install binary version trizen -S openlens-bin https://aur.archlinux.org/packages/openlens-bin

micw commented 1 year ago

On arch, you can also get a binary based on the "official" aur via chaotic aur: https://github.com/chaotic-aur/packages/issues/1673

0xbilko commented 1 year ago

Not everyone uses chaotic aur, but the more options available, the better.

jhamfler commented 1 year ago

The current documentation here: https://docs.k8slens.dev/contributing/testing/ does not work since there is no Makefile anymore

rittneje commented 11 months ago

@Nokel81 Why are there no usable instructions? Even npm build doesn't work because this project is incompatible with lerna.

lerna ERR! ECONFIGWORKSPACES The "useWorkspaces" option has been removed. By default lerna will resolve your packages using your package manager's workspaces configuration. Alternatively, you can manually provide a list of package globs to be used instead via the "packages" option in lerna.json.