-
Notifications
You must be signed in to change notification settings - Fork 0
Home
!! Before you can start you need to have on your PC:
-
Java 1.8
or higher Maven
NPM
-
Tomcat
(tested on version 8.5) -
MySql
/MariaDB
server
cd sources
mvn clean install
This sequence creates war
file sources/imiger-core/target/imiger.war
which can be deployed directly to Tomcat
Environment variables:
- JDBC_DATABASE_PASSWORD
- JDBC_DATABASE_USERNAME
- JDBC_DATABASE_URL (example:
jdbc:mysql://localhost/db_name?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
- (optional) INIT_DB=true – will automatically execute db init script
sources/imiger-core/src/main/resources/create_table.sql
This manual was written for IntelliJ IDEA 2018.3.3 (Ultimate Edition)
-
Open
sources
directory in IntelliJ -
Build configuration: a. Open
Run -> Edit Configurations
b. Add new configuration:
+ button -> Tomcat Server -> Local
c. On Server tab
Configue
Application Serverd. On Server tab
Open browser -> URL -> http://localhost:8080/imiger
e. On Server tab
Before launch
remove Build Goalf. On Server tab
Before launch -> + button -> Run maven goal -> Command Line -> Install
g. On Deployment tab
+ button -> External Source -> Path to imiger.war
h. On Deployment tab
Application context
=/imiger
i. On Startup/Connection fill envoronment variables
- install Python with pip
pip install robotframework
pip install robotframework-seleniumlibrary
- install chrome driver