Prerequisites: A local mysql server.
Assumptions: Linux machine
Start the sql server
# mysql -u root -p (enter your root password)
In the sql terminal, enter:
CREATE DATABASE genso; CREATE USER 'genso'@'%' IDENTIFIED BY 'genso'; GRANT ALL ON genso.* to genso;
Now, in the genso_aus project. Edit src/META-INF/persistence.xml Set hostname to localhost, port to 3306, username to genso, and password to genso. Run the ant target schemaexport in genso_aus.
You do now have a local database with complete layout!
An account is needed for registering entities Login to sql again and type:
INSERT INTO genso.person (username, password) VALUES ('genso', 'genso');
Start AuthenticationServer? from eclipse.
Now, setup the GSS/MCC to use the aus.
# echo "aus.genso.org 127.0.0.1" >> /etc/hosts
That should be it. You can now start registering SCs, etc.
