Git Product home page Git Product logo

hangar's Introduction

Hangar - Papers upcoming Plugin Repository

This is the repository for Hangar, a plugin repository used for paper plugins and similar pieces of software.

Hangar is a "fork" of Ore, created by the Sponge project, but rebuild from the ground up using the Spring Boot Framework in Java, using the Freemarker templating engine.
We would like the thank all Ore contributors, without them, this project would never have been possible.

The frontend is a mixture of vue and jquery, which will be cleaned up eventually.

There may or may not be a staging instance running at https://hangar-new.minidigger.me. It may or may not allow you to log in, please don't create too much of a mess so that I don't always need to nuke the DB when I want to use it.

Building

The project uses maven and should be straight forward (we even include a wrapper for you, wow!)
The frontend is located in src/main/frontend and uses webpack. You will need yarn to build that. Initially install dependencies via yarn, then start the dev environment using yarn run serve.

Additionally, you will need a postgresql database. For your convenience, this repo contains a dev-db docker compose stack in the docker folder that will get you setup.

This project currently uses java 11.

Building with Docker

If you want to build both Hangar and HangarAuth to run together (without a fakeuser), clone both this repo, and this. Make sure both Hangar and HangarAuth directories are siblings in your file system. cd into Hangar/docker and run docker-compose up -d. That should set everything up for you. You can view the logs via Intellij's docker integration. I find its better to view the logs there, so that the Hangar logs and HangarAuth logs are separated. Note that when using docker, a different spring configuration file is used, Hangar/docker/hangar/application.yml. To reload changes to Hangar, just CTRL+F9 (rebuild) in Intellij. To rebuild changes to HangarAuth, just run docker-compose up -d --build and that will rebuild if there were any changes.

Deployment

Deployment happens via Docker, checkout the stack in the docker folder. You will want to modify the application.properties in the hangar folder.

Contributing

There is a bunch of stuff to do, some of that is noted in the Roadmap Project. Your best bet is joining #hangar-dev on the paper discord and just discussing with us. All contributions are very welcome, we will not be able to finish this alone!

Licence

Most of the frontend is a fork of Ore, licensed under MIT here. The rest is new code (but created in reference of Ore) and is licenced under the MIT licence too.

hangar's People

Contributors

machine-maker avatar minidigger avatar dependabot[bot] avatar kennytv avatar renovate-bot avatar renovate[bot] avatar mdcfe avatar realdragonium avatar m4rcdev avatar keimeno avatar kashike avatar yannicklamprecht avatar aurorasmiles avatar original-codematrix 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.