yoda
yoda copied to clipboard
Development environment setup
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.
How about setting up Docker ?
@meanmachin3 that'll be helpful too!
you can also look at nix https://nixos.org/nix/
I would love to work on it, if nix is way to go.
@Lightyagami1 if it's possible using nix, then sure! I'd be glad to receive your PR!
Can you give further details to what exactly comes under the scope of this feature?
@manparvesh nix will need cywin to work on windows, i hope it's not a stopper for going with nix ?
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 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.
This can be closed
@thornycrackers this issue is different. I updated the description since it was causing a lot of confusion.