yoda icon indicating copy to clipboard operation
yoda copied to clipboard

Development environment setup

Open manparvesh opened this issue 5 years ago • 11 comments

Feature description:

The user should be able to set up a sample development environment for their system using a yoda command would install basic things to their system required for development like some compilers, dotfiles, etc.

Any ideas on how to implement it?

  • We should have a list of some common things for different operating systems
  • For each OS, when this command is called, the user should get a prompt before installing each package so that they can select what to install.
  • I'm open to more ideas! This needs to be discussed in detail.

manparvesh avatar Oct 01 '18 15:10 manparvesh

How about setting up Docker ?

meanmachin3 avatar Oct 01 '18 18:10 meanmachin3

@meanmachin3 that'll be helpful too!

manparvesh avatar Oct 02 '18 01:10 manparvesh

you can also look at nix https://nixos.org/nix/

Lightyagami1 avatar Oct 02 '18 05:10 Lightyagami1

I would love to work on it, if nix is way to go.

Lightyagami1 avatar Oct 04 '18 10:10 Lightyagami1

@Lightyagami1 if it's possible using nix, then sure! I'd be glad to receive your PR!

manparvesh avatar Oct 04 '18 13:10 manparvesh

Can you give further details to what exactly comes under the scope of this feature?

Lightyagami1 avatar Oct 06 '18 09:10 Lightyagami1

@manparvesh nix will need cywin to work on windows, i hope it's not a stopper for going with nix ?

Lightyagami1 avatar Oct 11 '18 09:10 Lightyagami1

I have setup a minimal environment on my local.

FROM python:3.5-alpine

WORKDIR /usr/src/app

ADD requirements.txt .

RUN apk add --no-cache --virtual .build-deps gcc musl-dev

RUN pip install -r requirements.txt

RUN apk del .build-deps gcc musl-dev

COPY . .

RUN pip install .

You run it using docker run --rm -it --name yoda yoda:latest yoda chat Hello

meanmachin3 avatar Oct 16 '18 09:10 meanmachin3

@meanmachin3 The issue is related to setting up a complete development environment on your system after installing yoda. However, your idea seems good too. I have created a different issue for this: #209 let's discuss there.

manparvesh avatar Oct 20 '18 03:10 manparvesh

This can be closed

thornycrackers avatar Oct 27 '18 00:10 thornycrackers

@thornycrackers this issue is different. I updated the description since it was causing a lot of confusion.

manparvesh avatar Oct 27 '18 07:10 manparvesh