Change to the directory you want for your repository. Create a repository for your project there.
cd ~/develop/repos svnadmin create ticket
cd ~/develop/php
mkdir -p ~/develop/php/ticket/{trunk,branches,tags}
./akelos/script/setup ~/develop/php/ticket/trunk/
Ignore the last statement in the output which reads “Please point your browser to /home/alan/develop/php/ticket/trunk in order to complete the installation process”
Import the new project into your repository, then initialize the working directory:
cd ~/develop/php/ticket cp ~/bin/apache . svn import %%file:///home/alan/develop/repos/ticket%% -m 'new project' cd .. rm -rf ticket mkdir ticket
Check the project out of the repository into the working directory.
cd /home/alan/develop/php svn co %%file:///home/alan/develop/repos/ticket/trunk ticket%%
Create a link in your docroot to allow Apache to access pages in your project.
su cd /var/www/html ln -s /home/alan/develop/php/ticket/public/ ticket exit
Make sure that your permissions are set up correctly.
sudo ~/develop/php/ticket/apache
Go to the root of your new project.
cd ~/develop/php/ticket
Make sure that your permissions are set correctly:
sudo ./apache
Point your browser to http://localhost/ticket.
Initialize your project according to the wizard.
Apache will create some files and you won't have write access to them. To fix that,
sudo ./apache
cd ~/develop/php/ticket
svn status
svn delete <file/directory>
svn add <file/directory>
svn commit -m 'comment'
Create the needed files for your project. When you create a file, add it to Subversion with the svn add command. When Akelos creates files for you, it will display a list of the files generated. Of course, you may always repeat the procedure under Initialize project.
At this link, you will find instructions for adding Administrative Pages to your project. They will not contain the details of working with Subversion, but you should have the idea of how to work with it down pretty well by now.
If you don't wish to add Administrative Pages to your project, you are now on your own to complete your work. May it be successful and enjoyable!