This project demonstrates Keikai and how to build an application with its Java client API.
You need to download and start keikai server before running this project.
- Please download keikai server at https://keikai.io according to your OS system
- unzip the downloaded zip file
- run the executable command inside the extracted folder:
- Mac/Linux
./keikai
- Windows
keikai.bat
After executing the command, you should see some messages like:
1:8888:2018-06-05 09:52:18.059549Z:keikai_dart_server:keikai_server:0
INFO: Keikai version: 1.0.0-alpha.0@jhsioate
...
INFO: Rikulo Stream Server 1.7.0 starting on 0.0.0.0:8888
...
Then keikai server starts up successfully at localhost:8888
./keikai —port=9999 —address=192.168.1.1
For other options, you can check with the command:
./keikai --help
You can run this project with a gradle wrapper without installing anything in advanced (gradle wrapper will install necessary files for you). Just run the following command in your command line interface:
- Linux / Mac
./gradlew appRun
- Window
gradlew appRun
Then visit the following URL with your browser:
By default, this project connects to a Keikai server at localhost:8888
. If you want to connect to a different address, please append a query string with key server
:
http://localhost:8080/tutorial/editor?server=10.1.1.1:8888
Chrome, Firefox, IE 11+
Microsoft Excel Open XML Document (.xlsx) only
You can upload an Excel file and edit it in a browser. Please visit http://localhost:8080/tutorial/editor with you browser.
If you fail to import an xlsx file, please kindly send it to [email protected]
It shows you how to import data from a database, and you can edit values in cells then save them back to the database. We just demonstrate one possible way, you can definitely load data from any other data repository by yourselves.
- This project saves data into HSQLDB
Please visit http://localhost:8080/tutorial/app with you browser.
- When calling Keikai Java client API, it communicates with Keikai server.
- Keikai server communicates with Keikai client in a browser to render a sheet and exchange data.