Publishing the Website
I haven't been able to figure out how to configure Apache to access the mounted filesystem yet. In lieu of this I created a script to just copy the files that change while I'm doing development. I created a bash script called: publish, with the following contents:
#!/bin/bash
target=/srv/www/htdocs
dir=RoseOfLife
if [ ! -d ${target}/${dir} ]
then
sudo mkdir ${target}/${dir}
fi
sudo pax -r -w -v -Y -Z . ${target}/${dir}
#!/bin/bash
target=/srv/www/htdocs
dir=RoseOfLife
if [ ! -d ${target}/${dir} ]
then
sudo mkdir ${target}/${dir}
fi
sudo pax -r -w -v -Y -Z . ${target}/${dir}
Total Comments 0