Skip to content

Instantly share code, notes, and snippets.

@jasjukaitis
Created January 16, 2013 11:44
Show Gist options
  • Select an option

  • Save jasjukaitis/4546599 to your computer and use it in GitHub Desktop.

Select an option

Save jasjukaitis/4546599 to your computer and use it in GitHub Desktop.
Script that creates a new Plone project
#!/bin/sh
if [ -z $1 ]
then
echo Insert directory name:
read dirname
else
dirname=$1
fi
echo Creating a new Plone project in $dirname...
mkdir $dirname
cd $dirname
curl -O http://python-distribute.org/bootstrap.py
curl -O https://gist.github.com/raw/4546434/9b42a137e2649d6839ee2a1bcc070372e0906795/buildout.cfg
python bootstrap.py
bin/buildout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment