Giter Club home page Giter Club logo

boxen-setup's Introduction

Boxen setup script

A simple shell script to setup a Boxen instance on a SMM Machine.

Use me

If you are setting up a computer from scratch you will need the OS X command line tools.

Open Appllications > Utilities > Terminal.app. Type:

xcode-select --install

and select Install.

You should not need to install the full Xcode suite, just the command line tools.

Then run:

  1. git clone https://github.com/scimusmn/boxen-setup.git
  2. cd boxen-setup
  3. ./boxen-setup.sh

The inital run can take anywhere between tens of minutes to multiple hours.

Resist the urge to cancel out of the process. It can cause errors while software is compiling.

What does it do?

  1. Creates the Boxen directory
  2. Sets the correct permissions
  3. Clones our Boxen manifest
  4. Runs Boxen for the first time, ignoring encryption requirement, with debug mode enabled.

We enable debug just because the first run takes a pretty long time (tens of minutes to hours) and it's helpful to be able to see that something's actually happening, during the setup.

Troubleshooting

If there are problems loop through these solutions:

  1. Relaunch Terminal
  2. Run boxen again.
  3. Install the latest OS software updates.
  4. Restart

Because Boxen is idempotent you can run it multiple times without causing problems. If something doesn't work, just keep running boxen and restarting until all errors disapear.

Command line tools install

When you try to install the command line tools, you get an error saying:

Can't install the software because it is not currently available from the Software Update server.

You probably have already installed the command line tools.

Can't bootstrap

When you first run the ./boxen-setup.sh script, you get an error talking about:

Can't bootstrap dependencies are outdated

This is a known issue on OS X Mavericks and the latest Xcode. To fix this, I've added this option to the default install script. ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future

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.