Set up Wamp
-
C:\WINDOWS\system32\drivers\etc\hosts -Add line 127.0.0.1 customer.trevetts.net
-
C:\wamp\bin\apache\Apache2.2.17\conf -add Virtual Host to httpd.conf
<VirtualHost *:80>
ServerName customer.trevetts.net
DocumentRoot "C:\wamp\www\customer"
DirectoryIndex index.php index.html index.html index.htm index.shtml default.html
</VirtualHost>
-
RESTART THE WAMP!!!
Set Repository
-
VisualSVN server - Add repository named customer
Right click on repository - Hooks tab - Post-commit hook. add
"C:\Program Files\VisualSVN Server\bin\svn.exe" update "C:\wamp\www\customer" --username svn --password 781svn6065 --config-dir "C:\Program Files\VisualSVN Server\conf"
Set Up .net version (localhost on Media2)
-
Add folder c:\wamp\www\customer
svn checkout to customer
load website into folder *
svn commit to repository *
Set Up Live Version (Knownhost)*
-
Checkout folder from repository: in Putty,
enter-
cd /home/customer/public_html (This may change from one project to another)
enter-
svn co https://pai.trevetts.net/svn/customer .
* These things can be done from a different computer.
To allow specific IP address access to phpMyAdmin
C:\wamp\alias\phpmyadmin.conf