Skip to content

Instantly share code, notes, and snippets.

@pigeonflight
pigeonflight / buildout.cfg
Created January 9, 2013 23:27
buildout.cfg for plone 4.2.3
[buildout]
allow-hosts =
*.plone.org
*.python.org
*.sourceforge.net
extensions += buildout.bootstrap
extends = http://dist.plone.org/release/4.2.3/versions.cfg
add-ons.cfg
find-links =.
http://dist.plone.org/thirdparty/elementtree-1.2.7-20070827-preview.zip
@pigeonflight
pigeonflight / ploneui.css
Created March 3, 2013 15:46
ploneui.css
@charset "utf-8";
/* CSS Document */
/* Selected portions of plonetheme.sunburst public.css
*
* Note: In some cases, it will be better to copy CSS from Plone using a Diazo
* rule like <before css:content="html head link" css:theme="html head link" />.
*
* This will allow additional CSS resources that are enabled in portal_css to
* be provided, including those from add-ons. You will also benefit from
* resource merging and cache header management.
@pigeonflight
pigeonflight / buildout.cfg
Last active December 15, 2015 13:29
Working Buildout for Plone 2.5.5
# this buildout works to build plone 2.5.5
# it assumes you used buildout.python to create a working Python 2.4
# in the /usr/local/python directory
# this can be acheived using the following commands:
#
# cd /usr/local
# git clone https://github.com/collective/buildout.python.git python
# cd python
# python bootstrap.py
#
echo "activating the web2py c9 installer ..."
wget http://www.web2py.com/examples/static/web2py_src.zip
unzip -q web2py_src.zip
echo "python web2py/web2py.py -i $IP -p $PORT; echo 'visit your site at http://$C9_PROJECT.$C9_USER.c9.io'" > ~/bin/start_web2py
chmod +x ~/bin/start_web2py
echo "-------------------------"
echo "to launch web2py type: start_web2py"
echo "activating the web2py c9 installer ..."
wget http://www.web2py.com/examples/static/web2py_src.zip
unzip -q web2py_src.zip
echo "python web2py/web2py.py -i $IP -p $PORT; echo 'visit your site at http://$C9_PROJECT.$C9_USER.c9.io'" > ~/bin/start_web2py
chmod +x ~/bin/start_web2py
echo "-------------------------"
echo "to launch web2py type: start_web2py"
echo "activating the web2py c9 installer ..."
wget http://www.web2py.com/examples/static/web2py_src.zip
unzip -q web2py_src.zip
echo "python web2py/web2py.py -i $IP -p $PORT; echo 'visit your site at http://$C9_PROJECT.$C9_USER.c9.io'" > ~/bin/start_web2py
chmod +x ~/bin/start_web2py
echo "-------------------------"
echo "to launch web2py type: start_web2py"
echo "activating the web2py c9 installer ..."
wget http://www.web2py.com/examples/static/web2py_src.zip
unzip -q web2py_src.zip
echo "python web2py/web2py.py -i $IP -p $PORT; echo 'visit your site at http://$C9_PROJECT.$C9_USER.c9.io'" > ~/bin/start_web2py
chmod +x ~/bin/start_web2py
echo "-------------------------"
echo "to launch web2py type: start_web2py"
why was my gist deleted?
why was my gist deleted?
@pigeonflight
pigeonflight / metadata.xml
Created July 18, 2013 15:09
This should be located in profiles/default/metadata.xml of your plone add-on to ensure that the reference field gets installed automatically
<metadata>
<version>1</version>
<dependencies>
<dependency>profile-plone.app.dexterity:default</dependency>
<dependency>profile-plone.app.relationfield:default</dependency>
</dependencies>
</metadata>