cloudmesh-community / book

Gregor von Laszewski
https://cloudmesh-community.github.io/
26 stars 106 forks source link

MiniProject: conda package for cloudmesh #333

Open laszewsk opened 5 years ago

laszewsk commented 5 years ago

This is not a full project, but coul dserve as a replacement for a chapter for those that enjpy programming..

As you know anaconda should not be used on cloud resources as it install a number of unnecessary packages and has features that may be therefore undesirable due to space and potentially compatibility issues. However anaconda is populare on client computers especially within the AI community. THis is due sto the factthat they often do not think about the implicationsa and ar luered by the confeniance that anacondo seems to provide.

Therefore it could be of benefit to doing the following three mini projects. You could do all of them or just one to get credit. Make sure to coordinate via github as I will file this in github as project.

a) test out the depoyment of cloudmesh cmd5 and its proper working on anaconda while using just pip install (easy to check)

credit: equivalent to section (as easy to check)

b) describe how to create a .bashrc or .bash_profile files while being able to switch on and of anaconda and switch between pyenv and anaconda (easy to do if you know bash)

here we look at a command that we generate for cloudmesh

cms activate anaconda
cms activate pyenv

we also would like to see the command

cms activate pyenv install

That installs pyenv on your system including into your .bashrc or .bash_profile. If pyenv is already installed it will give a warning and not do it.

credit worth a chapter

you can use

cms sys comand generate activate 

see

to get started and put it in you rgithub dir. Gregor will help merging it from there into cm

credit: equivalent to a chapter

c) develop a conda package in

https://github.com/cloudmesh-community/cm/conda

We like to be able to directly provide a conda package for cloudmesh. If more conveneinet this could be done firts in your github directory

credit: equivalent to a chapter

himanshu3jul commented 5 years ago

Hi,

Appreciate if you can assign this to @himanshu3jul and @amannars

himanshu3jul commented 5 years ago

Conda recepie created and tested on windows. Pull requests are submitted.