Surebert wikisurebert home | autogenerated toolkit docs | toolkit examples | Log in

Framework:SBF Deployment Guide

From Surebert wiki

Contents

Overview

The surebert framework 2.0 was created by Paul Visco in 2008 in order to streamline and standardize application development at Roswell Park Cancer Institute. It is intended for both command line and web based applications, as well as, a combination of both.

System Requirement

Deploying Surebert Framework To Your Server

The framework itself is installed by setting up a copy of the framework somewhere on your webserver. I would suggest /var/www although it really doesn't matter. You only need to do this once or whenever you later want to check out new versions of the data.

Create a home for the framwork

Goes in /var/www/sbf but you can put it anywhere you like

bash code

mkdir -p /var/www/sbf
cd /var/www/sbf

Check out the sb classes

Make the home for the framework's sb modules and check out the latest tag and the trunk, if you just want another version specify that

bash code

sudo mkdir -p /var/www/sbf/sb
cd /var/www/sbf/sb
sudo svn co http://surebert.com/svn/framework/tags
sudo svn co http://surebert.com/svn/framework/trunk

Check out the rp classes

Make the home for the framework's rp modules if working with roswell park modules. Only available at roswell. This will check out the latest tag and the trunk, if you just want a specific release you can use a more specific path.

bash code

sudo mkdir -p /var/www/sbf/rp
cd /var/www/sbf/rp
sudo svn co https://svn2.roswellpark.org/repos/framework/tags
sudo svn co https://svn2.roswellpark.org/repos/framework/trunk

Check out the toolkit

If using the surebert javascript toolkit, check out those files as well

bash code

sudo mkdir -p /var/www/sbf/toolkit
cd /var/www/sbf/toolkit

This will check out the latest tag and the trunk, if you just want a specific release you can use a more specific path.

bash code

sudo svn co http://surebert.com/svn/toolkit/tags
sudo svn co http://surebert.com/svn/toolkit/trunk

Securing the Files

Make the directory read only if you want to make it so that you don't accidentally write over the files

bash code

sudo chmod -R 555 /var/www/sbf

Using the Latest

You can also grab the latest version to test new features by grabbing the /trunk version instead of the tags, or export both and then switch between them in your project!

See the Framework:Application page for isntruction on getting started with a new framework application.

Retrieved from "http://wiki.surebert.com/index.php/Framework:SBF_Deployment_Guide"

This page has been accessed 1,444 times. This page was last modified on 30 May 2010, at 13:35. Content is available under Attribution-Noncommercial-Share Alike 3.0 Unported.


Browse
Home
Toolkit
Framework
Application
Recent changes
Random page
Edit
View source
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
More...