-
Notifications
You must be signed in to change notification settings - Fork 4
Getting started
This page should provide basic information to get you started developing for the project.
First of all you should have the required level of knowledge on the tools used for this project.
Then you should decide on which IDE you will be using for development. My personal preference at the moment(this can always change) is Intellij IDEA
First of all you should clone the project by using the url provided in github.
$ git clone [email protected]:iccs/STARDOM.git
Once you have cloned the repository, you need to set up your mysql database as root. Run the command below
$ cd [project_dir]
$ mysql -u root -p < eu.alert-project.iccs.stardom.core/eu.alert-project.iccs.stardom.datastore/src/main/db/init-db.sql
You need to bring the database schema up to the latest version. We use c5-db-migration to manage this. In order to understand this process better, you can read about this on [pending].
The database information is managed in the datastore component of the project.
$ cd [project_dir]/eu.alert-project.iccs.stardom.core/eu.alert-project.iccs.stardom.datastore/
For your development database
$ mvn db-migration:migrate -Denv=dev -Ddb.port=3306
For you test database
$ mvn db-migration:reset -Denv=test -Ddb.port=3306
Then from the command line
$ mvn clean compile install
You are ready to import the project in your IDE of preference and start working on it.