Yooreeka
This is a clone of the code of the Yooreka project (code used in the book Algorithms of the Intelligent Web, Manning - http://www.manning.com/marmanis/ ) with minor modifications to make it easier to setup on non-Windows platforms.
Install / Use
/learn @rgravina/YooreekaREADME
Quick start for running book examples
Linux, Mac OS X
- Ensure java and ant are installed.
which java; which ant /usr/bin/java /usr/bin/ant
- Build using ant
cd build ant
Buildfile: build.xml
init: ... BUILD SUCCESSFUL Total time: 10 seconds
- Run Beanshell
cd ../deploy/bin/ ./bsc.sh Start ClassPath Mapping ... BeanShell 2.0b4 - by Pat Niemeyer (pat@pat.net) bsh %
Windows
- Verify your environment
1.1. Make sure that you've placed all distribution files under C:\iWeb2\
1.2. Start windows command line interpreter (cmd.exe) and confirm that you can run java and ant from command line on your system.
From windows command prompt execute:
java -version ant -version
If you get an error see step 2. Otherwise skip to step 3.
- Configure your java environment
You can skip this step if you already have JDK and Ant configured on your system to run from command line. Assuming that java jdk is in C:\jdk1.5.0_12 and Ant is in C:\apache-ant-1.7.0 use the following commands:
SET JAVA_HOME=C:\jdk1.5.0_12 SET ANT_HOME=C:\apache-ant-1.7.0 SET PATH=%JAVA_HOME%\bin;%ANT_HOME%\bin;%PATH%
At this point you should be able to run java and ant from command line without errors. If you've only configured environment for your current command line interpreter make sure that you perform steps 3 and 4 in the same instance of interpreter.
- Run ant build file for the project:
From command prompt execute:
cd /D C:\iWeb2\build ant
Ant will execute default target from C:\iWeb2\build\build.xml build file. It will build all source code and will prepare 'C:\iWeb2\deploy' directory.
- Start beanshell
From command prompt execute:
C:\iWeb2\deploy\bin\bsc.bat
You are ready to run book examples!!!
Related Skills
node-connect
352.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
