I was able to mostly fix this demo by copying blog.xml to /var/www/localhost/htdocs/wt-examples/blog, and creating a dummy 'index.html' file. Although it should have been obvious, I didn't realize I had to open http://127.0.0.1:8091/blog However, although I've installed asciidoc from MacPorts, this demo still complains:
"Could not execute asciidoc" It would be nice if there were better directions for running this demo. If I supplied a README.txt for this demo, would someone add it to the distribution? On Apr 21, 2010, at 10:41 AM, Joseph VanAndel wrote: > I'm trying to run the blog example from wt-git (updated this morning). > I've done the following: > $ cd ~/code/wt_git > $ setenv APPNAME blog > $ setenv DEPLOYROOT /var/www/localhost/htdocs/wt-examples/ > $ setenv WT_SOURCE_DIR $cwd > $ setenv APPBIN $cwd/build/examples/blog/blog.wt > $ setenv APPRESOURCES $cwd/examples/blog/css > $ ./deploy.sh > > $ cd /var/www/localhost/htdocs/wt-examples/blog/ > > $ ./blog.wt --docroot . --http-address 0.0.0.0 --http-port 8080 > > [2010-Apr-21 10:40:09.331128] 48146 - [notice] "Wt: initializing built-in > httpd" > [2010-Apr-21 10:40:09.331630] 48146 - [notice] "Reading Wt config file: > /usr/local/etc/wt/wt_config.xml (location = './blog.wt')" > sh: asciidoc: command not found > sh: asciidoc: command not found > Created database, and admin/admin user > > -- Warning: Example is deployed at '/blog' > > [2010-Apr-21 10:40:09.352389] 48146 - [notice] "Started server: > http://0.0.0.0:8080" > > When I try to open > http://127.0.0.1:8080/ > > blog.wt prints: > > 127.0.0.1 - - [2010-Apr-21 10:40:35.790365] "GET / HTTP/1.1" 404 85 > > What is blog.wt failing to open? > > > > ------------------------------------------------------------------------------ > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest ------------------------------------------------------------------------------ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
