GithubHelp home page GithubHelp logo

marco-aurelioo / platform Goto Github PK

View Code? Open in Web Editor NEW

This project forked from netuno-org/platform

0.0 0.0 0.0 42.23 MB

🚀 All Netuno core capabilities, such as CLI and Web Server.

Home Page: https://netuno.org

License: Apache License 2.0

JavaScript 86.47% CSS 3.66% HTML 6.67% Less 0.10% Groovy 0.04% Kotlin 0.06% Python 0.05% Ruby 0.04% Shell 0.03% Batchfile 0.01% CoffeeScript 0.39% SCSS 1.35% EJS 0.01% PowerShell 0.01% ActionScript 0.04% PHP 0.12% Makefile 0.01% TypeScript 0.83% Dockerfile 0.01% Handlebars 0.11%

platform's Introduction

Netuno Platform: Get Started

To install, follow the Get Started.

Quickly build applications adapted to your business logic.

In here you can find the source of all the Netuno core capabilities, such as CLI and Web Server.

Overview

Find more in netuno.org

Get Started · First Steps · Polyglot

Documentation highlights:

REST · OpenAPI · Cron Jobs · Monitor & Alerts

Polyglot Low-Code Web Applications

Application Architecture

Netuno is written in Java and runs in GraalVM to facilitate web application development, it currently suppports the following programming languages:

😎 While you are programming you won't need to restart the server to compile the newly updated code.

All log outputs such as server-side, client-side (NPM run watch) and other outputs are integrated in the same console. By having this feature you'll only need to look to one console thus easing your work.

Build Requirements

  • Linux or macOS;
  • Maven
  • NodeJS
  • Java 11

Build scripts are currently not available for Windows, so we recommend a Linux/macOS based environment.

Setup

To install the Netuno Platform, please, follow the:

Continue with the steps below if you want to compile from scratch and change the Netuno Platform, then start cloning this repository.

Allow permission to execute:

chmod +x setup.sh

Run the setup script:

./setup.sh

Bundle

cd bundle

./publish.sh

The published Netuno version will be generated in bundle/dist/netuno* which is based on the final output generated in bundle/out/netuno.

Run/Debug With IntelliJ IDEA Community Edition

Create a new project in the menu File > New > Project from Existing Sources...

Choose the folder where this repository was cloned.

Now choose Import project from external model > Maven:

Your project panel should look like this:

These modules should be detected automatically:

  • netuno.cli
  • netuno.library.doc
  • netuno.proteu
  • netuno.psamata
  • netuno.tritao

In the top bar click on Add Configuration...

Then click on the + (plus) button and choose the Application option:

Configure the fields like this:

Make sure of:

  • GraalVM with Java 11
  • Module is netuno-cli
  • Main class is org.netuno.cli.Main
  • Working directory is bundle/base

🎉 Have fun!

IntelliJ Run/Debug Error

If you get this error:

Connected to the target VM, address: '127.0.0.1:62490', transport: 'socket'
Exception in thread "main" java.lang.NoClassDefFoundError: kotlin/TypeCastException
	at kotlinx.coroutines.debug.AgentPremain.<clinit>(AgentPremain.kt:26)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:513)
	at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:525)
Caused by: java.lang.ClassNotFoundException: kotlin.TypeCastException
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
	... 7 more
*** java.lang.instrument ASSERTION FAILED ***: "result" with message agent load/premain call failed at ./src/java.instrument/share/native/libinstrument/JPLISAgent.c line: 422
FATAL ERROR in native method: processing of -javaagent failed, processJavaStart failed
Disconnected from the target VM, address: '127.0.0.1:62490', transport: 'socket'

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

Just go to IDE Preferences and disable the coroutine agent:

Click on Apply button.

Now it should run/debug normally.

platform's People

Contributors

eduveks avatar miguelmessias 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.