[Yanel-usage] install problem yanel

Michael Wechner michael.wechner at wyona.com
Mon Jan 6 19:41:14 CET 2014


Hi Bård

Am 06.01.14 16:29, schrieb Bård Grape:
> Hi Michael and thanks for the quick reply !
> I have now installed and run yanel successfully!
> I used the mac Terminal help to find the unix commands that will be
> needed.

I am glad to hear that it worked.

btw, in order to update Yanel (to the most recent version), you can do
the following steps:

- cd yanel (or whatever directory contains the Yanel code)
- git pull
- ./yanel.sh stop
- ./build.sh
- ./yanel.sh start

Also the code of the "From scratch realm" is inside the directory

src/realms/from-scratch-realm-template

and in particular the xhtml, css, etc. is inside

src/realms/from-scratch-realm-template/data-repo/data/

HTH

Michael
>
> Den 2014-01-06 08:53, skrev Michael Wechner:
>> Hi Bård
>>
>> You need to switch into the "yanel" directory in order to run the
>> "build.sh" file.
>>
>> If I understand correctly, then you cloned the project inside the folder
>> "Carla", right? Which
>> means the folder "Carla" should contain a directory called "yanel".
>> (run the command "ls" and it should show you all directories and files
>> inside the directory you currently are.
>> In order to find out where you currently are type the command "pwd")
>
> yes found there is a directory named yanel
>>
>> If so, then you can switch into the directory "yanel" by typing
>>
>> cd yanel
>
> not quite so because the directory is named: yanel Carla$
>
>>
>> Then type again the command "pwd" in order to check that you are now
>> really inside the directory "yanel".
>
> yes
> GrapeFilms-MacBook-Pro:yanel Carla$ pwd
> /Users/Carla/yanel
> GrapeFilms-MacBook-Pro:yanel Carla$
>
> then set java home
>
>> Then you can run the "build.sh"
>>
>> GrapeFilms-MacBook-Pro:~ Carla/yanel$ ./build.sh
> I did this:
> Grapefilms-MacBook-Pro: yanel Carla$ ./build.sh
>
>
> BUILD SUCCESSFUL
> Total time: 1 minute 20 seconds
>
> then I try to start yanel:
>
> GrapeFilms-MacBook-Pro:yanel Carla$ ./yanel.sh start
> Apache Ant version 1.7.1 compiled on June 27 2008
> INFO: Starting Yanel...
> Buildfile: src/build/build.xml
>
> start-tomcat:
>
> startup-tomcat-windows:
>
> startup-tomcat-unix:
>
> BUILD FAILED
> /Users/Carla/yanel/src/build/targets/cruise-control/continuous-integration.xml:25:
> The following error occurred while executing this line:
> /Users/Carla/yanel/src/build/targets/cruise-control/continuous-integration.xml:59:
> No Tomcat is set inside local.build.properties! Please note that if
> you build Yanel from scratch, then you should use the 'quick-start'
> target (https://github.com/wyona/yanel).
>
> Total time: 0 seconds
>
> and finally I was successful:
>
> GrapeFilms-MacBook-Pro:yanel Carla$ ./build.sh quick-start
> Apache Ant version 1.7.1 compiled on June 27 2008
> INFO: Building Yanel...
> Buildfile: src/build/build.xml
>
>>
>> Btw, which page did you use for learning how to install Yanel?
>>
>> Was it
>>
>> http://www.yanel.org/en/getting-started/unix.html
>
> Yes
>
>>
>> ? If so, then we will try to make the instructions clearer.
>>
>> Best wishes
>>
>> Michael
>>
>> P.S.: Please subscribe to the Yanel mailing lists in order to ask
>> questions
>>
>> http://www.yanel.org/mailing-lists.html
>>
>> because this way other people might also be able to answer or learn from
>> your questions
>>
>
> OK !
>



More information about the Yanel-usage mailing list