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
The text was updated successfully, but these errors were encountered:
gnurenga
changed the title
Devserver is not producing showing proper landing page for the first run
Devserver is not producing proper landing page for the first run
Jul 4, 2015
Starting up Pelican and HTTP server
/home/rengaraj/chennaipy-website/develop_server.sh: line 69: cd: /home/rengaraj/chennaipy-website/output: No such file or directory
Above error message is due to cd $OUTPUTDIR runs before the output directory created by pelican
Because of this Server points to the basedirectory not to the output directory in which html files are generated.
But as per the shell script order we are changing the directory after running the pelican.
$PELICAN --debug --autoreload -r $INPUTDIR -o $OUTPUTDIR -s $CONFFILE $PELICANOPTS &
pelican_pid=$!
echo $pelican_pid > $PELICAN_PID
cd $OUTPUTDIR # as per the stdout message this runs before the creation of output directory
$PY -m pelican.server $port &
srv_pid=$!
Issue:
Steps to reproduce the issue
The text was updated successfully, but these errors were encountered: