Giter VIP home page Giter VIP logo

if-sandbox's Introduction

IF SANDBOX
----------

This will greatly assist getting the IF perl framework
working under OSX and Linux.  It has been successfully run under
Snow Leopard, Ubuntu (HH) and Centos.

It contains all the Open Source bits and pieces that you'll 
need to run IF-based applications, except MySQL; we assume you
use the system one.


Getting the sandbox working for the first time
----------------------------------------------

First, you have to shut off MySQL if it's running.  This is because
there's a bug either in MySQL or DBD::mysql whereby it hangs during
the make test phase of the installation.  Yes, this is probably
a bug that we shouldn't ignore but I don't have time to figure out what's
going on, or try to find an older version of DBD::mysql that does work
in OSX.

So, the first time you install the sandbox, do this:  (fix up
your paths accordingly)

sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
export IF_SANDBOX=~/LocalProjects/if-sandbox
cd $IF_SANDBOX
make

During the make process, the installation of the perl modules will
annoyingly ask you some questions.  Refuse to install optional modules
and accept all other defaults.

If all goes well, you can activate the sandbox using

source $IF_SANDBOX/activate.sh

and you'll be good to go.  Remember to restart MySQL:

sudo /Library/StartupItems/MySQLCOM/MySQLCOM start


NOTE:  In order to use the sandbox you will also
need to update your conf files to point to the new locations of 
apache and memcached:

In IF.conf:

	MEMCACHED_PATH => "$ENV{'IF_SANDBOX'}/local/bin/memcached",

In you app's Config.pm:

	HTTPD_PATH => "$ENV{'IF_SANDBOX'}/local/apache2/bin/httpd",

	...

    MODULE_PATH => "$ENV{'IF_SANDBOX'}/local/apache2/modules",

And that's it.

if-sandbox's People

Contributors

quile avatar

Stargazers

 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.