To install our application, please follow the listed instructions:
- First, you need an environment where GWT can be deployed. At this moment, we are using Eclipse plus a GWT plugin where we retrieved it from Eclipse marketplace.
- Then, MySQL is needed in order to import our data.
- MySQL Workbench is optional but it helped comparing to MySQL command line tools.
- To import our data, you need to run
data\_structure.sql
file where our data structures and relations were stored. - Then, you should first import Chengyu data from
chengyu\_data.json
file and tags data fromtags.csv
file, since there are foreign key dependencies. - Then, you can import chengyu tags relations from
chengyu\_tag.csv
file. - Following that, you need to go to
DictionaryServiceImpl.java
(located inchengyu.dict\src\main\java\com\colewews1819\server\
) where database connection information was hard-coded in. VariablesDB\_URL
,USER
andPASS
need to be modified in order to make our program connect to the database. - Please run the application through Eclipse.
- Open the page
http://localhost:8888/chengyudict
via a browser. We have tested and passed with Safari, Google Chrome and Firefox. - Enjoy it!