Coder Social home page Coder Social logo

myenv's Introduction

My ENV

Configs for my working environment. Mainly for Windows and Debian based Linux.

git clone --recurse-submodules https://github.com/reksar/myenv.git

Edit ./settings.yml if needed.

Linux

sudo

Prompts for the sudo password for some shell scripts or Ansible tasks with become: true.

Can be installed with ./linux/scripts/install/sudo/sudo.sh. If the current user was not in the sudo group, then group memberships must be updated. Start a new shell instance, relogin or run newgrp sudo.

Ensuring the Ansible

Automatically runs this script chain on before ./ensure or ./config:

  • linux/scripts/install/ansible/ansible.sh
  • linux/scripts/install/python/python.sh
  • linux/scripts/install/pyenv/pyenv.sh

This allows to ensure the Ansible availability. If the Ansible is not installed in the system, it will be installed into the ./venv dir after ensuring the Python virtual environment there.

If the system Python version < MIN_PYTHON_VERSION, that is set in the python.sh installation script, then Python >= MIN_PYTHON_VERSION will be installed with pyenv.

Config

./config to run default tasks.

./config <task> to run specific ./ansible/config/tasks/<task>.yml.

Ensure

./ensure <program> to install specific program using the ./ansible/install/<program>.yml task and then automatically configure it with ./ansible/config/tasks/<program>.yml if needed.

Cleanup

./clean to remove the ./venv dir and Ansible's *.retry files.

Windows

Entry point: .\windows\myenv.lnk.

The myenv-test cmd can be useful.

myenv's People

Contributors

reksar avatar

Watchers

 avatar  avatar

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.