git://github.com/adamfranco/segue.git
is the official Segue GIT repository, maintained by Adam Franco.
Please note: This repository location is temporary while we wait for a more permanent server to be set up (in July, 2008). A posting will be made to the Segue project news (RSS) at the time of that move.
Subsequent to Segue beta 20, we have ceased using the SourceForge CVS for source-code management and are now using GIT. You can clone this repository to access the full development history of Segue.
These instructions are for those who want to develop Segue. If you just want to run Segue, our packaged downloads are much simpler to use.
For more information on installing and using GIT, please refer to the GIT manual.
These examples assume you are putting your source-code in your public_html directory (~/public_html/segue_dev/
) to make it web-accessible. If you are putting it elsewhere, use that other path instead.
cd ~/public_html/segue_dev/ git-clone git://github.com/adamfranco/harmoni.git harmoni
cd ~/public_html/segue_dev/ git-clone git://github.com/adamfranco/polyphony.git polyphony
cd ~/public_html/segue_dev/ git-clone git://github.com/adamfranco/segue.git segue
cd ~/public_html/segue_dev/ wget http://community.middlebury.edu/~afranco/git/libraries/domit.zip unzip domit.zip rm domit.zip
cd ~/public_html/segue_dev/ wget http://community.middlebury.edu/~afranco/git/libraries/PHP_JPEG_Metadata_Toolkit_1.11.zip unzip PHP_JPEG_Metadata_Toolkit_1.11.zip rm PHP_JPEG_Metadata_Toolkit_1.11.zip
cd ~/public_html/segue_dev/polyphony/javascript/ wget http://community.middlebury.edu/~afranco/git/libraries/fckeditor.zip unzip fckeditor.zip rm fckeditor.zip
cd ~/public_html/segue_dev/ wget http://community.middlebury.edu/~afranco/git/libraries/jpgraph.zip unzip jpgraph.zip rm jpgraph.zip
cd ~/public_html/segue_dev/segue/javascript/ wget http://community.middlebury.edu/~afranco/git/libraries/scriptaculous-js.zip unzip scriptaculous-js.zip rm scriptaculous-js.zip
cd ~/public_html/segue_dev/segue/config/ sed s/main/../ < libraries_default.conf.php > libraries.conf.php
pecl install Archive_Tar
segue/config/
directory create a custom database configuration
file with values for your database server:
cd ~/public_html/segue_dev/segue/config/ cp database_default.conf.php database.conf.php vi database.conf.php
Below are the same steps as above, but without the Archive_Tar install, and formatted so that you can paste them into a bash shell. Change the SEGUE_INSTALL_DIR if you wish to install segue to a different place.
export SEGUE_INSTALL_DIR=~/public_html/segue_dev/ mkdir -p $SEGUE_INSTALL_DIR ############################### # Clone the repositories ############################### # Clone Harmoni cd $SEGUE_INSTALL_DIR git-clone git://github.com/adamfranco/harmoni.git harmoni # Clone Polyphony cd $SEGUE_INSTALL_DIR git-clone git://github.com/adamfranco/polyphony.git polyphony # Clone Segue cd $SEGUE_INSTALL_DIR git-clone git://github.com/adamfranco/segue.git segue ############################### # Download Polyphony Libraries ############################### cd $SEGUE_INSTALL_DIR wget http://community.middlebury.edu/~afranco/git/libraries/domit.zip unzip domit.zip rm domit.zip cd $SEGUE_INSTALL_DIR wget http://community.middlebury.edu/~afranco/git/libraries/PHP_JPEG_Metadata_Toolkit_1.11.zip unzip PHP_JPEG_Metadata_Toolkit_1.11.zip rm PHP_JPEG_Metadata_Toolkit_1.11.zip cd $SEGUE_INSTALL_DIR/polyphony/javascript/ wget http://community.middlebury.edu/~afranco/git/libraries/fckeditor.zip unzip fckeditor.zip rm fckeditor.zip ############################### # Download Segue Libraries ############################### cd $SEGUE_INSTALL_DIR wget http://community.middlebury.edu/~afranco/git/libraries/jpgraph.zip unzip jpgraph.zip rm jpgraph.zip cd $SEGUE_INSTALL_DIR/segue/javascript/ wget http://community.middlebury.edu/~afranco/git/libraries/scriptaculous-js.zip unzip scriptaculous-js.zip rm scriptaculous-js.zip ############################### # Update the Configs ############################### sed s/main/../ < $SEGUE_INSTALL_DIR/segue/config/libraries_default.conf.php > $SEGUE_INSTALL_DIR/segue/config/libraries.conf.php cd $SEGUE_INSTALL_DIR/segue/config/ cp database_default.conf.php database.conf.php vi database.conf.php
cd ~/public_html/segue_dev/harmoni
git-pull
cd ~/public_html/segue_dev/polyphony
git-pull
cd ~/public_html/segue_dev/segue
git-pull
See also: Submitting patches GIT documentation
0001-First-line-of-commit-message.patch
: cd ~/public_html/segue_dev/segue
git-format-patch
git-pull
is done.