summaryrefslogtreecommitdiff
path: root/develop_server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'develop_server.sh')
-rwxr-xr-xdevelop_server.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/develop_server.sh b/develop_server.sh
index d49f866..0c40b4e 100755
--- a/develop_server.sh
+++ b/develop_server.sh
@@ -10,8 +10,6 @@ INPUTDIR=$BASEDIR/content
OUTPUTDIR=$BASEDIR/output
CONFFILE=$BASEDIR/pelicanconf.py
-DEVCONF=$BASEDIR/.pelican.py
-
###
# Don't change stuff below here unless you are sure
###
@@ -63,10 +61,8 @@ function shut_down(){
function start_up(){
echo "Starting up Pelican and pelican.server"
- sed -e 's|SITEURL.*|SITEURL=\"http://localhost:8000\"|' -e 's|DISQUS_SITENAME.*||' $CONFFILE > $DEVCONF
-
shift
- $PELICAN --debug --autoreload -r $INPUTDIR -o $OUTPUTDIR -s $DEVCONF $PELICANOPTS &
+ $PELICAN --debug --autoreload -r $INPUTDIR -o $OUTPUTDIR -s $CONFFILE $PELICANOPTS &
pelican_pid=$!
echo $pelican_pid > $PELICAN_PID
cd $OUTPUTDIR