At this point MySQL isn't required for the builds at it now uses H2. To run Apromore after the build you will need MySQL setup.
Ensure MySQL is configured to accept local TCP connections on port 3306 in its .cnf file; "skip-networking" should not be present.
$ sudo mysqld_safe
Set the root password of MySQL to the default used by Apromore
$ mysqladmin -u root password MAcri
Create a user database named 'apromore' in your MySQL database.server
$ mysql mysqladmin -u -user=root -p -password=MAcri From the mysql prompt enter the following commands:
$ CREATE create apromore
Create a user named 'apromore' with the required permissions
$ mysql --user=root --password=MAcri
CREATE USER 'apromore'@'localhost' IDENTIFIED BY 'MAcri';
$ GRANT ALL PRIVILEGES ON * GRANT SELECT, INSERT, UPDATE, DELETE, LOCK TABLES ON apromore.* TO 'apromore'@'localhost'; $ FLUSH PRIVILEGES;
Navigate to the directory Extras/database/ and execute db-mysql.sql in your MySQL database.
This will create your database and setup the Create and populate the database tables.
$ mysql --user=root --password=MAcri < Supplements/database/db-mysql.sql
At the end of the db-mysql.sql script is where we populate some of the system data including user information.
Currently, we have a few users setup that are developers or affiliates and they can be used or you can choose to add your own. All
All passwords are encrypted but they are 'password' for the time being and we don't have a facility just yet to allow a user to change there password.
This is coming soon as well as a setup utility to allow the creation of a user on first running.
* Change to the root of the project you checked out of SVN.
* Run the ant command 'ant apromore-pre-build'. This will upload any libraries that are needed and not in any maven
repository and builds some support libraries and places all of them in your local maven repository.
* Run the maven command 'mvn clean install'. This will build the Apromore manager, portal and editor and all the extra plugins.
* Run the ant command 'ant start-virgo'. This will install, configure and start Eclipse Virgo, and deploy Apromore.