LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs > Focused4Success
User Name
Password

Notices


Rate this Entry

Publishing the Website

Posted 11-06-2010 at 11:42 PM by Focused4Success
Updated 11-07-2010 at 06:52 AM by Focused4Success

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}
Views 664 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 11:52 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration