Giter VIP home page Giter VIP logo

OpenLattice Super Project

Get started developing faster!

This superproject helps you get started building on the OpenLattice platform by providing a single repository that pulls together all necessary projects so that you can develop and refactor with confidence.

Getting started

  • Ensure your ssh-keys are generated. Add them to Github.

  • Clone the superproject and all of its submodules:

      git clone ssh://[email protected]/openlattice/openlattice.git --recurse-submodules
    
  • Install gradle (brew install gradle)

  • Install and start Postgresql (brew install postgres and brew services start postgres)

  • Install and start ElasticSearch 5.x (brew install elasticsearch and elasticsearch -E cluster.name=openlattice on OS X)

Eclipse environment setup

  • From the openlattice directory, run the "eclipse" gradle task to set up the appropriate Eclipse project structure

      ./gradlew eclipse
    
  • In Eclipse, click Import -> Existing Projects (make sure you select the "Search for nested projects" option)

    • The root directory is the openlattice superproject directory (wherever that might be on your local filesystem)
    • Import all of the selected projects

IntelliJ environment setup

We've found that using the built-in Import project at the root level works better than trying to use the gradle project generator. You should also enable annotation processing in the IntelliJ settings.

Running locally

  • Ensure that:
    • You've completed the "Getting started" section above
    • Xcode is installed and you've agreed to the license
    • JAVA_HOME is configured properly and JDK 11 is installed

From the openlattice superproject directory:

Tools provided

  • ./gradlew - The superproject's build.gradle sets the 'developmentMode' variable, allowing you to build your projects using projectDependencies

Adding a new project

We manage subprojects using git submodules. See WORKFLOWS.md for some representative workflows.

If a new subproject needs to be added:

  • edit settings.gradle to add it as a gradle subproject
  • create a new branch using git checkout -b feature/add-<subproject>
  • run git submodule add ssh://[email protected]/openlattice/<subproject>
  • commit, push, and submit a pull request. git commit -a -m "Added subproject" && git push --set-upstream origin feature/test

OpenLattice's Projects

OpenLattice doesnโ€™t have any public repositories yet.

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.