Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Java Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.openshift
deployments
setup
src
.gitignore
README
openshift_readme
pom.xml

README

PV243 - Geocaching
Jan Martiska + Ondrej Lukas

=====================================
http://pv243-jmartisk2.rhcloud.com/ =
=====================================

************************************************************
*************** NAVOD K LOKALNI INSTALACI ******************
************************************************************

***************
1) DATABAZE****
***************
- nainstalovat mysql-5.1 server
- vytvorit databazi jmenem pv243 pristupnou pro uzivatele pv243user z lokalniho stroje
- priklad prikazu:
** (spusteni databaze) sudo service mysql start
** spustit "sudo mysql", potom v mysql shellu napsat:
** create user pv243user@localhost identified by 'pv243password';
** create database pv243;
** (nastaveni prav pro uzivatele) grant all on pv243.* to pv243user@localhost;
** podrobnejsi info viz. http://dev.mysql.com/doc/refman/5.1/en/create-user.html, http://dev.mysql.com/doc/refman/5.1/en/grant.html

***************
2) JBoss AS****
***************
- v repozitari ve slozce setup je vzorovy standalone.xml, melo by stacit prepsat puvodni $JBOSS_HOME/standalone/configuration/standalone.xml timhle
- jboss AS potrebuje mit nainstalovanou binarku MySQL driveru jako modul: nakopirovat 2 soubory ze slozky "setup/mysql"
--- do slozky $JBOSS_HOME/modules/com/mysql/jdbc/main (bude potreba ji vytvorit)

***************
3) START ******
***************
- nastartovat databazi (service mysql start) - je potreba i behem testovani
- pro arquillian vzdy pri spousteni testu nastavit -DjbossHome=/cesta/k/jboss-as
- zkompilovat projekt (mvn package)
- deploy lze provest pres jboss-as-maven-plugin, tzn. pokud jiz probehla faze package a je uz spusteny jboss server, staci v koreni projektu napsat "mvn jboss-as:deploy"
- pro deployment na openshift je urcen profil "openshift"
Something went wrong with that request. Please try again.