Coder Social home page Coder Social logo

app-mathx's Introduction

MathX

Project to help youngsters learning to form valid mathematical expressions.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and test system.

Prerequisites

You will need to install OpenJDK 11 and OpenJavaFX 11 in order to run the software. You will need to add firebase jar files to your library

OpenJavaFX 11

  • Download OpenJavaFX 11 from Gluon Official Website.
  • Extract the download file in your system and remember the location.

OpenJDK

  • Linux sudo apt install openjdk-11-jdk

IntelliJ (Required you want to compile, run and generate executable)

Running in IntelliJ

A step by step series of examples that tell you how to get a development env running

  • Clone the project
git clone https://github.com/SER515-Fall2019-Team4/app-mathx.git
  • Open the project in IntelliJ

  • Go to FileProject Structure

    • Project

      • Set Project SDK to 11
      • Set Project level language to 11
      • Specify Project compiler output to location where you want to compile the software
    • Libraries

      • Add new library +Java

      • Go to the file location where you extracted the OpenJavaFX and add

        ../javafx/lib

    • Apply

      Adding Firebase libraries

  • Download the firebase-client-android-2.5.2.jar from attachment section location: https://tree.taiga.io/project/sheran-12-ser515-classscrum/wiki/firebase-docs

  • Go to FileProject Structure

    • Libraries

      • Add new library +Java
      • Go to the file location where you extracted the Firebase jar file and add the same
    • Click on Apply

Adding Firestore libraries

  • Go to FileProject Structure

    • Libraries

      • Add new library +Java
      • Go to home/ of the project and add the libs folder
    • Click on Apply

  • Go to RunEdit Configuration

    • + Add new configuration → Application

      • Change Name as you like. This will be your configuration name.
      • Set Main Class as main.MainClass
      • Set vm-options as --module-path /path/to/javafx/lib --add-modules javafx.controls,javafx.fxml,javafx.web

      Replace /path/to/javafx/lib* with the path where you extracted the OpenJavaFX

    • Apply

  • Go to RunRun 'ConfigurationName'

Generating and running JAR file in IntelliJ

Generating JAR File

  • Go to FileProject Structure
    • Artifacts
      • + Add new artifact → JARFrom modules with dependencies
      • Specify Main Class as main.MainClass
      • OK
    • Specify output directory
    • OK
  • Go to BuildBuild Artifactsapp-mathxBuild

Running JAR File

  • Open terminal
  • Go to output directory specified when adding new artifact
cd app-mathx/out/artifacts/app_mathx_jar/
  • Run the file (replace /path/to/javafx/lib with the path to JavaFX/lib )
java -jar --module-path /path/to/javafx/lib --add-modules javafx.controls,javafx.fxml app-mathx.jar

You may refer to another README file at https://github.com/SER515-Fall2019-Team4/app-mathx/tree/master/home/main/src/controllers for more information about the project structure

Authors

  • Karandeep Singh Grewal
  • Aditya Bajaj
  • Ria Mehta
  • Manas Mahapatra
  • Sheran Dass

Acknowledgments

  • Michael Findler

Special Thanks to Mariusz Gromada for MathParser (Used to evaluate expressions)

app-mathx's People

Contributors

kgrewal2 avatar mmahapat avatar sheran-12 avatar adityab079 avatar rnmehta1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.