Git Product home page Git Product logo

node4ords's Introduction

Node4ORDS

AnalyticsSimple node app to act as web listener to sit on top of Oracle Rest Data Services (ORDS) web container (such as Tomcat). This is an alternative to using an Apache web server.

This project was created as part of the Oracle XE / APEX VM install project: https://github.com/OraOpenSource/oraclexe-apex

Please note this is still in beta and additional changes will be coming.

#Install

git clone https://github.com/OraOpenSource/node4ords.git
#TODO the unsafe-perm may not be required
cd ./node4ords
npm install --unsafe-perm

##Upgrade Node4ORDS comes with a self updating script. If you have made any customizations to any file in the project be sure to back it up as this script will delete the folder. To run:

#Assuming that your app folder is in /var/www/node4ords
. /var/www/node4ords/update.sh

If you are missing update.sh it means you are running an older version of Node4ORDS. Please do a manual upgrade as described in this post.

#Config All the configuration in config.js. This should be reviewed before installing to configure the web container URL, ports, etc.

#Run

node app.js

An example of how to start this app on boot can be found in the Oraclexe-Apex project. Specifically the init.d/node4ords file.

#Static files Once installed a directory called /var/www/public will be created. Static files can be placed in there and referenced from your server via //server_name/public/filename. You can configure the location for static content in config.js.

By default, the following folder structure will be created:

|-/public
	|-css
	|-img
	|-js

node4ords's People

Contributors

martindsouza avatar tschf avatar

Watchers

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