Git Product home page Git Product logo

mac-dev-setup's Introduction

Automatic Provisioning of Development Environment for Mac OS X

Download (and extract) the provisioning scripts from GitHub.

cd ~/Downloads/mac-dev-setup-master
./setup.sh

The script will ask for some variables and will store their content in ./.personalised_settings.sh for later re-use.

The installation procedure will download many packages (about 2.5GB of files) and you will need to enter your root password from time to time. Some packages (notably XCode CLI Tools and TeamViewer) will prompt you with some installation window on their own, which you will need to process manually.

Manual steps afterwards

There are still some manual steps left in order to finalize the installation. Some of these could surely be automated as well (pull requests appreciated!), while other's don't.

Install VirtualBox Guest Additions

vagrant plugin install vagrant-vbguest

Create docker machine

Depending on your physical hardware you need to specify different values for CPU/RAM/HDD, but the general procedure works like this:

docker-machine create --driver virtualbox --virtualbox-cpu-count 8 --virtualbox-memory 6144 --virtualbox-disk-size 60000 default

Reboot

It is a good idea to reboot your system afterwards to make sure all settings and environment variables are taken into account.

IDE Configuration

While IntelliJ has already been installed, the "Lombok" plugin is still missing to be able to start working. Hints for the installation process can be found on jetbrains.com. Then checkbox "Enable annotation processing" needs to be activated in the preferences.

For Eclipse, please refer to the documentation on the official project homepage: projectlombok.org. Further, you'll need to install the Buildship plugin.

Switch to versioned clone of GitHub project

Now that you have a running development environment you should replace your download of the zipped GitHub project with a real clone of that repository:

git clone https://github.com/ePages-de/mac-dev-setup.git
cd mac-dev-setup

Don't forget to move your ./.personalised_settings.sh into this new directory

Now you can create a new branch and maintain your changes or prepare pull requests from it. Especially tweaking your .bash_profile is highly recommended, see for instance CONFIG_SERVER_REPO environment variable in it.

git checkout -b local
vi common/templates/.bash_profile.j2

mac-dev-setup's People

Contributors

epmartinlau avatar jensfischer1515 avatar jmewes avatar mduesterhoeft avatar nzolotova avatar otrosien avatar ulfsauer0815 avatar

Watchers

 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.