Git Product home page Git Product logo

init's Introduction

init

This kickstart script automates all the boring work of setting up a new Zalando machine by installing all software I use and pre-configuring (with the help of dotfiles and OSX hacks) otherwise tedious manual settings. Initial script comes from lmedeirosdea/init, so Kudos to him!

The script is supposed to run standalone and it's gonna take care of cloning this repo and my general init repo.

Known Issues

The script has a shebang to run with bash, but part of it is written for bash and part for zsh:

  • The read commands to wait for input doesn't work in zsh
  • The for loop for cloning the repos doesn't work on bash
  • oh-my-zsh runs env zsh to immediatelly switch to zsh, aborting the rest of the commands

Solution to come:

  • Check the shell running. The first half of the script only executes if it's bash, the rest if it's zsh. So essentially the user will run ./kickstart.sh twice, once in bash, and after it switches to zsh, again to proceed :D

or...

  • Make it completely bash-able
  • Cancel the eval zsh step from the oh-my-zsh setup so it doesnt switch into zsh
  • Final step would launch iTerm, which will open already with zsh and auto-source zshrc! Way better

Pre-requisites

You need admin rights on the machine.

Instructions

  • Download the kickstart.sh and make it executable with chmod +x kickstart.sh
  • Replace the REPLACE_ME_WITH_A_TOKEN placeholder with a GHE personal access token
  • Run ./kickstart.sh

Features

The script kickstarts the machine by installing/configuring:

  • Shell (iTerm2 + zsh + oh-my-zsh)
  • XCode command-line tools (mostly because of git)
  • Generation of new SSH key (using Zalando e-mail)
  • Homebrew (and all software from them on using formulas and casks for a tidy managed system ๐Ÿ˜)
  • Essential desktop apps: google-chrome java8 spectacle atom telegram spotify google-chat intellij-idea postgres pgadmin4 postman docker istat-menus dropbox wine-devel
  • Essential shell apps: python3 go glide node jq z imagemagick hub maven awscli bash icdiff mono
  • Essential Zalando tooling (with automatic configuration): zalando-kubectl stups stups-berry zmon-cli
  • Atom packages
  • Automatic copying of berry.yaml to the home folder
  • Automatic copying of software dotfiles .vimrc .m2 .aws
  • Automatic copying and sourcing of my custom dotfiles .zalandorc .zalando-k8s .zalando-stups .zshrc
  • Automatic setup of iStats Menus 6
  • Setup of CREDENTIALS_DIR
  • Setup of 'Favorite servers' in Finder with all Zalando SMB servers (e.g. N:, transfer, etc)
  • Setup of git globals
  • Setup of workspace folder with cloning of every project from Team CAT ๐Ÿ˜ป
  • Setup of CAT databases in pgAdmin4

Check the script to know exactly what it does.

What's missing

There are a bunch of steps which were not automatized yet. They are mostly related to OSX settings I'm still figuring out how to change using the CLI (in general it's about changing 'defaults').

CHECK THE TERMINAL OUTPUT FOR FINAL STEPS!!

init's People

Watchers

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