Giter VIP home page Giter VIP logo

Comments (11)

jgallen23 avatar jgallen23 commented on July 20, 2024

Just putting my two cents here, but I like the idea of /root being common to all environments. I have my dotfiles, common scripts, etc in there and it "just works" when switching to new environments. Not the end of the world if I have to source my /home/jgallen23/.bashrc though. Or maybe the default /root/.bashrc checks to see if your current user's home directory has a .bashrc and sources? That might be the best way to go

from envy.

progrium avatar progrium commented on July 20, 2024

Yeah we can do that default.

from envy.

jgallen23 avatar jgallen23 commented on July 20, 2024

One other thing to think about is that with a shared /root, I only have to generate an sshkey once, add that to github and then I can clone from any environment without having to mess around with new keys.

from envy.

progrium avatar progrium commented on July 20, 2024

I don't totally follow. You're generating a private key to use from an envy environment? And you'd rather that be for the root user than your own user.

from envy.

jgallen23 avatar jgallen23 commented on July 20, 2024

I'm generating ssh key from my jgallen23 envy env so I can clone private repos in all my other envy environments. Is there a better way to handle this?

from envy.

jgallen23 avatar jgallen23 commented on July 20, 2024

And that ssh key gets stored in /root/.ssh/id_rsa, so if root isn't shared, then the ssh keys won't be the same across envy environments.

from envy.

progrium avatar progrium commented on July 20, 2024

Yeah. That could be desired but also not impossible to achieve when root isn't shared. But it's a good point from a convenience point of view.

Would love to hear more perspectives on this.

from envy.

progrium avatar progrium commented on July 20, 2024

I still haven't moved /env to /root/env, however, I did set up a new RC / startup script system that would relatively easily allow you to resolve the SSH key issue.

88f3ef6

from envy.

jgallen23 avatar jgallen23 commented on July 20, 2024

one other thing to think about is other dotfiles. .gitconfig, .vimrc, .jshintrc, .aws, .npm, etc. I would think all environments for that user should share those things. Are you envisioning those would be manually symlinked with the envyrc too?

from envy.

jgallen23 avatar jgallen23 commented on July 20, 2024

is /root being unique to each env still the plan for 0.1.0? Looks like with the GO version, it's still shared

from envy.

progrium avatar progrium commented on July 20, 2024

Yeah, still shared. I'm back and forth about it.

from envy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.