Personal tools
You are here: Home Users Mark Bartlett copart make playpen plone

make playpen plone

Plone

Once you have your shell account on the dev server.

ssh into your account on the server using putty... then...

get the unified plone package by invoking this from the command line

wget http://launchpad.net/plone/3.3/3.3.2/+download/Plone-3.3.2-UnifiedInstaller.tgz

untar it

gunzip -c Plone-3.3.2-UnifiedInstaller.tgz | tar xvf -

cd into Plone-3.3.5-UnifiedInstaller

cd ./Plone-3.3.2-UnifiedInstaller
Edit the install.sh file
vi install.sh

change the line #1:

#!/bin/sh
to
#!/bin/bash

Change lines 85 & 87...

GNU_MAKE="/bin/make
to
GNU_MAKE="/usr/sfw/bin/gmake"

------------------------------------

GNU_TAR="/bin/tar"
GNU_TAR="/usr/sfw/bin/gtar"




Create a standalone instance in your home directory

(not as root) see the README.txt file.

./install.sh standalone

Out of the box plone runs on port 8080 lets change that...

find all the ports in use on the box

netstat -P tcp

Edit the buildout to change the port. I use vim

vim buildout.cfg

rebuild plone

./bin/buildout -n

Start plone

./bin/plonectl start
or
./bin/instance start

 

View plone using web browser

use dev.mycopart.com:XXXX/Plone for the URL where XXXX is your port  number

 

 Deliverance

 

Get virtual env

wget http://svn.colorstudy.com/virtualenv/trunk/virtualenv.py

Activate the virtual environment

source DelivTest/bin/activate

Set environmental variables

CC=gcc



Create environment and python for Delverance

python virtualenv.py --no-site-packages DelivTest

Install Deliverance

easy_install Deliverance 

 Create a configuration

DelivTest/bin/paster create -t deliverance DelivTest

 

which gcc
/usr/sfw/bin/gcc
CC=gcc 
./bin/easy_install Deliverance

PATH=/opt/SUNWspro/bin/:$PATH
export PATH


set these in env
CC=gcc
/opt/SUNWspro/bin/ to front of path


LDFLAGS="-L/opt/webstack/python/lib"

export LDFLAGS="-L/opt/webstack/python/lib -L/export/home/mxbartlett/test/DelivTest/lib"

 

 

 

 

 

 

 

 

 

 

 

Document Actions