This project is to stream epidemic data to overlay on the corresponding location on world map.
This project is a Java application based on Play Framework. See http://playframework.com.
$ git clone <git-repo-url>
In the directory containing this file and run to go to activator shell:
$ activator
In the activator shell, run to generate all files necessary for Eclipse
[]$ eclipse with-source=true
Menu:File>Import...
to open import dialog- In import dialog, Select
Tree:General>Existing Project into Workspace
and Next. - Browse the directory containing this file. Then the proejct should be selectable in the Projects area.
- Make sure to select the project and Finish.
In the directory containing this file, run the below command and go to http://localhost:9000.
$ activator run
- Dowload source code, See Downloading Source code.
- Edit
conf/application_overrides.conf
file - Change the new secret key to the output from
activator playGenerateSecret
- Edit the conf file to fit the project
- If the port needs to change,
create an executable script file named
start.sh
with the below content:
export PORT=9000 # default is 9000. Change to another port number.
./do start
Start the application by running the below command.
$ ./do start
or the script you just created.
$ ./start.sh
- Shut the running application down by running the below command.
$ ./do shutdown
- Update new version by running the below command.
It will checkout all the files tagged with the
NAME-VERSION
format.
$ ./do update <VERSION>
- Restart the application. See Starting Application.