GithubHelp home page GithubHelp logo

hhy5277 / ringojs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ringo/ringojs

0.0 1.0 0.0 26.08 MB

RingoJS is a JavaScript platform built on the JVM and optimized for server-side applications.

Home Page: https://ringojs.org

License: Apache License 2.0

Shell 0.23% JavaScript 68.69% HTML 0.14% Java 30.89% Batchfile 0.01% CSS 0.03%

ringojs's Introduction

RingoJS

Ringo is a JavaScript platform built on the JVM and optimized for server-side applications. It's based on the Mozilla Rhino JavaScript engine.

It adds a number of features to Rhino that make it suitable for real-world, large-scale application development:

  • A fast, auto-reloading, and CommonJS-compliant module loader.
  • A rich set of modules covering I/O, logging, development tools and much more.
  • Support for blocking and non-blocking I/O.
  • Scalable HTTP server based on the Jetty project.
  • Support for CommonJS packages to install or write additional software components.

For more information, visit the RingoJS web site: https://ringojs.org/

Download and Installation

Download the latest precompiled release from the download page. Extract the archive and add the ringojs/bin directory to your local PATH for convinience.

If you use the Homebrew package manager on MacOS, you can use the ringojs formula: brew install ringojs

Verify Releases

Releases of RingoJS will be signed with one of the following GPG keys:

  • 1.2.1 and newer: Philipp Naderer-Puiu <[email protected]> DE2A A9A1 B018 6C2F 622F D9EF 3F47 C28B 23EB 3072
  • 1.2.0 and older: Philipp Naderer <[email protected]> 8FF2 26B7 F268 547B 176F ABAC F312 313B 5CBC 0883

Building from Source

Current Build Status on Codeship

Ringo requires a recent version of Java. It uses Apache Ant as build tool and Ivy (>= 2.4 is required) for managing dependencies.

If you have these installed, building Ringo is straightforward:

Check out Ringo using Git:

git clone git://github.com/ringo/ringojs.git

Change to the ringojs directory and run the ant update task to fetch dependencies:

ant update

Then run the jar task to compile the code and build the jar file:

ant jar

Run the docs task to build the documentation:

ant docs

Running RingoJS

It is recommended but not strictly required to add the ringojs bin directory to your PATH environment variable. If you don't you'll have to type the full path to the bin/ringo command in the examples below.

To start the Ringo shell, just run the ringo command without any arguments:

ringo

To run a script simply pass it to ringo on the command line. For example, to run the Ringo test suite:

ringo test/all.js

Use the basic ringo-admin command to create a new web application or install packages. To create a blank Ringo web app:

ringo-admin create [appdir]

To install a package from a zip URL:

ringo-admin install [packageurl]

Installing a package manager

Ringo does not ship with a built-in package manager. An easy way to manage packages and their dependencies is the evolving Ringo package manager rp. The main benefit of rp over ringo-admin is that rp downloads dependencies defined in the packages descriptors. rp can install any package available in its online registry.

To install rp itself you can use the ringo-admin tool:

ringo-admin install grob/rp

For more information visit the rp documentation wiki.

Supporters

JetBrains

JetBrains sponsored an Open Source license for IntelliJ IDEA to create and maintain Ringo. Thanks for your continuous support!

ORF.at

A huge salute to ORF.at for supporting this projects over the years!

ringojs's People

Contributors

amigrave avatar botic avatar chl avatar earl avatar garryyao avatar gmosx avatar grob avatar hns avatar kmfdm1 avatar mrdon avatar n0rthwood avatar oberhamsi avatar olegp avatar oravecz avatar pnewhook avatar robi42 avatar rrmckinley avatar sovalinux avatar stt avatar the-alchemist avatar tschaub avatar

Watchers

 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.