GithubHelp home page GithubHelp logo

leblocks / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 104 KB

bootstrap and single source of development environment configuration

License: MIT License

Shell 3.64% Batchfile 0.09% PowerShell 52.42% Lua 43.84%

dotfiles's Introduction

dotfiles

This repository contains configuration files and setup scripts for configuring my development environment.

Why powershell?

I've experimented with a few methods in the past to maintain a consistent setup, including shell/batch scripts and Python. However, keeping two sets of scripts โ€” one for Windows and one for Linux โ€” proved challenging to stay up to date. Bootstrapping Python of correct versions wasn't an straightforward task as well.

After trying various scripting languages like Python, shell, and batch scripts, I found a decent solution in powershell. Using powershell, I can now easily set up configurations and install tools on both Windows and Linux with a unified approach. This not only simplifies the whole process but also saves me from the headache of managing different sets of scripts, making development more efficient and straightforward.

TODOs

  • more understandable output
  • run stuff once a week
  • faster tests
  • add gif with example usage
  • make sure that none of commands requires admin (except package installations)

Repository structure

  • bootstrap/ - scripts to bootstrap powershell on various environments

  • packages/ - list of tools to install and how to configure them

    • packages.json - list of packages to install
    • packageName/ - configuration files for a packages with name packageName
  • docker/ - script for testing\working with this setup in a container

  • test/ - configuration tests, ensure that everything is installed correctly.

Notes

Those are created by configuration scripts:

  • $HOME/.environment.json contains environment variables loaded by $PROFILE on a new session
  • $HOME/.path.json contains path additions loaded by $PROFILE on a new session
  • Setting DOTFILES_DEBUG environment variable will enabled additional logging.

dotfiles's People

Contributors

leblocks 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.