Code Monkey home page Code Monkey logo

homer's Introduction

Homer

Sandbox for applications.

Usage

Create an environment:

$ homer env
$ cd env
$ ls
bin  include  lib  local

Activate the environment:

$ cd env
$ source bin/activate

Install your application

$ cd some-application-that-i-can-compile
$ ./configure --prefix=$HOMER_PATH
$ make
$ make install

Installation

Some dependencies:

  1. python

Clone from the repository

$ git clone git://github.com/jpanganiban/homer.git

Install it

$ cd homer
$ sudo python setup.py install

or with a virtualenv

# Activate your environment the way you do...
$ python setup.py install

Why Another Sandbox

Sandboxes are good. It keeps things tidy. Besides that, it allows you to:

  1. Install multiple versions of applications/libraries/etc without having to install something on top of another.

  2. Keep track of which environment being used at a specific moment.

  3. Easily switch environments.

  4. Install without sudo. Badassssss!

Exposed Environment Variables

Exposed environment variables

$HOMER_PATH  # Path to the environment
$HOMER_ENV  # Just a name you entered when you created your environment

More exposed environments

$_HOMER_OLD_PATH  # The old $PATH for backup

homer's People

Contributors

jpanganiban avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

homer's Issues

Environment wrapper

Have something to call that works like workon or rvm use to activate a specific environment.

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.