[olat] r483 committed - Edited wiki page through web user interface.

0 views
Skip to first unread message

codesite...@google.com

unread,
Mar 11, 2010, 6:40:34 AM3/11/10
to gsoc20...@googlegroups.com
Revision: 483
Author: Guido.Schnider
Date: Thu Mar 11 03:39:58 2010
Log: Edited wiki page through web user interface.
http://code.google.com/p/olat/source/detail?r=483

Modified:
/wiki/SetupOlatInEclipse.wiki

=======================================
--- /wiki/SetupOlatInEclipse.wiki Thu Mar 11 03:29:10 2010
+++ /wiki/SetupOlatInEclipse.wiki Thu Mar 11 03:39:58 2010
@@ -29,30 +29,12 @@

After you run the two command successfully go back to eclipse and refresh
both projects. Eclipe will start to rebuild the workspace and after a while
you should see no more errors.

-[http://www.patrickbrunner.ch/gsoc/set_jdk_m2_tomcathome_demo/set_jdk_m2_tomcathome_demo.htm
screencast]
-
-== Setup OLAT dependency to Brasato sources ==
-The fastest development cycle is achieved by using the `brasato` project
instead of the `olatcore-SNAPSHOT.jar`.
-
-In the `olat` project's `Properties > Build Path > Source` you can link
the folders _.../workspace/brasato/src/main/java_ and
_.../workspace/brasato/src/main/resources_
-And then remove the olatcore-1.0-SNAPSHOT.jar from your build path.
-
-[http://www.patrickbrunner.ch/gsoc/Setup_olat_brasato_dependency_demo/Setup_olat_brasato_dependency_demo.htm
screencast]

== Prepare Database ==
-As `root` user create the `olat database`, and an `olat user` with
`password`
-
-Open a shell / console and
-|| `mysql -u root -p` || login as root ||
-|| `CREATE DATABASE myolat;` || a database named _myolat_ ||
-|| `GRANT ALL PRIVILEGES ON myolat.* TO 'myolatuser'@'localhost'
IDENTIFIED BY 'myolatusersecret` || the db user _myolatuser_ has access
from _localhost_ with password _myolatusersecret_ these you should remember
later for the *build.properties* ||
-|| `QUIT;` || return to shell for verification ||
-|| `mysql -u myolatuser -p` || connect to database using the _myolatuser_
with password ||
-
-[http://www.patrickbrunner.ch/gsoc/prepare_database/prepare_database.htm
screencast]
-
-== Create build.properties ==
-You have to copy the `build.properties.default` to `build.properties` and
change the following values to meet your installation directories.
+
+== Create olat.local.properties ==
+OLAT should run with the default olat.properties and uses an embedded
hsqldb database. If you like to use set custom path for userdata of even an
other database you have to adjust some properties. Create an
olat.local.properties file and save it under /tomcat/lib (the first start
of olat tries to create this file in tomcat/lib)
+.

|| `base.dir` || _C:/Users/patrickb/workspace32/gsoc/olat_ your path to
olat project in your eclipse workspace ||
|| `userdata.dir` || _C:/tmp/olat_gsoc/olatdata_ where you want to save
data ||
@@ -72,10 +54,7 @@

[http://www.patrickbrunner.ch/gsoc/buildproperties/buildproperties.htm
screencast]

-== Run as Ant Build ==
-Right click on the `build.xml`, select `Run As...` and then `Ant
Build...`. From the dialog select the targets _deletedatadir_, _dbsetup_,
_config-all_ and be aware that deletedatadir will delete all files in the
datadir and dbsetup will drop your olat database.
-
-[http://www.patrickbrunner.ch/gsoc/runant/runant.htm screencast]
+

== Setup up WTP Tomcat Server ==
With WTP you can easily manage your tomcat or whatever servers.
@@ -88,7 +67,7 @@

Activate the `Server view` and start the defined server in `Debug` mode.

-Wait until you see something like _Full Indexer...._ then point your
browser http://localhost:8080/olat/dmz/ this should bring you up the login
screen.
+Then point your browser http://localhost:8080/olat/dmz/ this should bring
you up the login screen.

* [http://www.patrickbrunner.ch/gsoc/setupwtp_demo/setupwtp_demo.htm
screencast] *

Reply all
Reply to author
Forward
0 new messages