|
Running
Myjug Portal
1)
download latest myjug-portal release.
2) extract, preferably C:\, the portal diretory would be your [MYJUG_HOME]
3) setup mysql www.mysql.org. run mysqld and create database "myjug".
4) building properties setting [MYJUG_HOME]/webapps/myjug/WEB-INF/build/build.properties
DATABASE SETTINGS section:
// change this accordingly
databaseUrl = jdbc:mysql://127.0.0.1/myjug
databaseDriver = org.gjt.mm.mysql.Driver
databaseUser = root
databasePassword =
databaseHost = 127.0.0.1
5) run ant task "init" in [MYJUG_HOME]/webapps/myjug/WEB-INF/build/
by typing "ant init" in your command line interface/terminal. this
will create create table/generate classes/compile classes to run
the application. NOTE: make sure ant available in your environment
it should say "BUILD SUCCESSFUL" a couple of times until the end
and couple of warnings/deprecated msgs.
6) runtime properties setting [MYJUG_HOME]/webapps/myjug/WEB-INF/conf/Fulcrum.properties
DATABASE SERVICES section: // change this accordingly
services.DatabaseService.database.default.driver=org.gjt.mm.mysql.Driver
services.DatabaseService.database.default.url=jdbc:mysql://127.0.0.1/myjug
services.DatabaseService.database.default.username=root services.DatabaseService.database.default.password=
7) start up myjug portal using script in [MYJUG_HOME]/bin/
8) go to URL http://localhost:8080/myjug/servlet/myjug
9) login available(msbob/msbob) (havent done registration just yet).
check [MYJUG_HOME]/webapps/myjug/WEB-INF/src/sql/myjug-testdata.sql
for more user/group/forum etc etc.
|