You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure apache starts on reboot and loads everything:
vim /etc/rc.conf
add:
apache22_enable="YES"
cd /usr/local/etc/apache22/
vim httpd.conf
add:
LoadModule perl_module libexec/apache22/mod_perl.so
Include /home/lpm/London-pm-website/apache2.conf
Create an lpm user
adduser
Username : lpm
Password : <disabled>
Full Name : London.pm User
Uid : 1009
Class :
Groups : lpm
Home : /home/lpm
Home Mode :
Shell : /usr/local/bin/bash
Locked : no
OK? (yes/no): yes
Clone the repository
su - lpm
cd
git clone git://github.com/LondonPM/London-pm-website.git
Add a crontab to auto update from github
0,30 * * * * cd /home/lpm/London-pm-website; /usr/local/bin/git pull
Restart apache and all should be ok (cross fingers)