Skip to content

Skunkworks-parrot is a Desktop application written in Java for supervisors to create and send notifications to the field workers.

License

Notifications You must be signed in to change notification settings

codeknight3/skunkworks-parrot

 
 

Repository files navigation

ODK-X Notify (Desktop)

Platform License

This project is under development.

ODK-X Notify has 2 components: a desktop application and a mobile application.

The desktop application is for supervisors to create and send notifications to their field workers for better coordination of their work. The mobile application is an Android app that receives these notifications. The client can send notifications to all or a group of workers. These groups can either be an ODK Groups or a custom groups created in this application. For the custom groups, users are required to scan the QR code using ODK-X Notify generated by the admin after creating the group to be part of the group. Whereas members of ODK Groups are added by default. It is part of ODK-X, a free and open-source set of tools which help organizations author, field, and manage mobile data collection solutions. Learn more about the Open Data Kit project and its history here and read about example ODK deployments here.

Setting up your development environment

  1. Download and install Git and add it to your PATH

  2. Download and install IntelliJ IDEA

  3. Fork the collect project (why and how to fork)

  4. Clone your fork of the project locally. At the command line:

     git clone https://github.com/YOUR-GITHUB-USERNAME/skunkworks-parrot
    

If you prefer not to use the command line, you can use IntelliJ IDEA to create a new project from version control using https://github.com/YOUR-GITHUB-USERNAME/skunkworks-parrot.

  1. Open the project in the folder of your clone from IntelliJ IDEA ide.

  2. To run the project, click on the green arrow at the top of the screen. This project uses the Java library,called JavaFX,which is used to develop a desktop application as well as Rich Internet Applications(RIA).This library supports the .fxml files. But JavaFX is not supported in the latest Java version, but is supported in versions like Java 8,Java 9 and Java 10.For java 11, the library package have to be installed separately. This can be done using the link given below: https://gluonhq.com/products/javafx/

  3. Click on the configure option after you run the app for the first time.

  4. Create a Firebase project and add necessary data to sync the app with firebase. Step by step instructions for creating a Firebase project can be found here.

To build an executable JAR using Gradle
  1. Build executable JAR by
            ./gradlew build (for Linux)
            gradlew.bat build (for Windows)
  1. A JAR will be built inside build/libs/, you can run the JAR by
           java -jar name_of_jar.jar

Prerequisites

ODK-X Sync Endpoint server is needed for the application to run. Once the server is up, enter the url in configure section of the app. Users with 'SITE_ACCESS_ADMIN' role can only access the application.

About

Skunkworks-parrot is a Desktop application written in Java for supervisors to create and send notifications to the field workers.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 97.4%
  • CSS 2.6%