Database
- For a relational data store, we recommend running MySQL locally with three databases:
- one for KFS OLTP
- one for standalone Rice OLTP
- one with KFS/Rice bundled for unit testing
the following statements will setup a new MySQL database/user (kfs) for development purposes
Code Block create user kfs@localhost identified by 'kfs'; create user kfs@'%' identified by 'kfs'; create database kfs default character set 'utf8' default collate 'utf8_bin'; grant all on kfs.* to kfs@localhost with grant option; grant all on kfs.* to kfs@'%' with grant option;
- For the document data store, we recommend running MongoDB locally.
...
We recommend building and running KFS locally. The KFS war can be build using maven (
mvn -DskipTests=true package
) and deployed to a container such as Tomcat.Info mvn -DskipTests=true package
Note, the -DskipTests=true is optional, but if you don't skip the tests, they will take some time to run and aren't strictly necessary for packaging the KFS war.
- We recommend building and running a Standalone Rice instance locally. The Rice war can also be built using maven and deployed to a container such as Tomcat. See the Rice Documentation.
...