Captured another video moment for the fans out there, this time of the oh so professional Mommy showing me how one washes a red head baby girl’s hair. Needless to say, I didn’t pick up on all that much considering I was far to busy taking this oh so professional video footage! :P
First, browse to the folder in which you want to generate your SVN repository and create the respository folder:
Next, instruct SVN to generate the necessary file structures required into your repository folder:
sudo svnadmin create projectname
Once this has completed, the next step is to open up the repository to the world by making use of the Apache web server. To do this, we need to assign the necessary folder access permissions:
sudo chown -R www-data:svn projectname
sudo chmod -R g+rws projectname
Next, we need to add the new SVN repository details under Apache’s configuration:
sudo nano /etc/apache2/mods-available/dav_svn.conf
Add to the bottom of the file:
<Location /svn> DAV svn SVNPath /home/svn/projectname AuthType Basic AuthName "Projectname SVN Repository" AuthUserFile /etc/subversion/passwd Require valid-user ErrorDocument 404 default </Location>
And finally? Restart the Apache service.
sudo service apache2 restart
Next, you must create /etc/subversion/passwd file. This file contains user authentication details.
If you have just installed SVN, the passwd file will not yet exist and needs to be created using the “-c” switch. Adding any users after that should be done without the “-c” switch to avoid overwriting the passwd file.
To add the first entry, ie.. to add the first user, you can run the following command:
sudo htpasswd -c /etc/subversion/passwd user_name
It prompts you to enter the password. Once you enter the password, the user is added.
To add more users after that, you can run the following command:
sudo htpasswd /etc/subversion/passwd second_user_name
If you are uncertain whether the passwd file exists, running the command below will tell you whether the file already exists:
Now, to access the repository you can run the following command:
svn co http://hostname/svn/myproject myproject --username user_name
Man, I’m really sad to have missed this, thanks to me not being able to be back in GB in time for the event after work.
Last Friday saw the official final training session of 2010 for the junior karateka at the Gordon’s Bay Funakoshi dojo, as they break up for the holiday period.
(Though the adult classes continue on a Monday and Wednesday evening of course!)
To change things up and end off on a bang, Sensei Birgitt decided to do something different for a change – an outdoors training session!
And where better to train outdoors in Gordon’s Bay than on our beautiful, pristine main beach?
Needless to say, it looks like it was loads of fun and a great way to close off the official 2010 Funakoshi calendar year for all the junior karateka! Once again, good work Gordon’s Bay Dojo! :)
To get more of a feel for how this final training session went down, check out the gallery!