Skip to content

jvillanti/lba

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LBA

Installation guide

Prerequisites

Install Git, Python, Redis and MongoDB (on Debian)

    aptitude install git redis-server mongodb

Note: Redis is used to store the sessions. Minimal required version is 2.2. So on debian sqeeze you have to activate and use backports:

  1. Add the following line to /etc/apt/sources.list:

             deb http://backports.debian.org/debian-backports squeeze-backports main
    
  2. Update your local package lists:

             sudo aptitude update
    
  3. Install redis-server with:

             sudo aptitude -t squeeze-backports install redis-server
    

Install Node.JS

See following installation procedure : https://github.com/joyent/node/wiki/Installation

Install Web Site

    cd ~/local/var/lib
    git clone [email protected]:ncarlier/lba.git
    git submodule init
    cd lba
    make

Run (without CloudFoundry)

    #!/bin/sh
    # Optional ENV (default: development)
    export NODE_ENV=production
    # Optional PORT (default: 8081)
    export APP_PORT=8081

    node app.js 2>&1 >> bm.log

Deploy on CloudFoundry

    #!/bin/sh
    vmc env-add lba NODE_ENV=production
    make deploy

About

LBA Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published