Skip to content

NodeJs App Server for Akai MPC and Akai Force Clients

Notifications You must be signed in to change notification settings

intelliriffer/mpc-node-app

Repository files navigation

MPC / FORCE NodeJs App

This App will will be installed on the root of of your internal sd card un .apps directory and required nodejs to be installed too.

Purpose

The primary purpose is to laydown a basic primary framework for rapid app development of any kind the user may desire in javascript/Node Js. The apps build into this are mainly my use cases but can help understand how things are laid out and how you can build your own if you so desire.

Basically:

  1. Define Endpoints in /api/ENDPONTS.js for backend handlers
  2. Copy your Client code to /assets/ (css/js .. ).
  3. The Prog Bulilder source code is more or less a complete example of how you would go about injecting client scripts and rendering partial templates etc to build together a bit more involved app.

Rquirements

  1. SSH Access to your MPC / Force Device (Custom Image) Please visit the MPC-LiveXplore Project, Read Through and Obtain Custom Image and Scripts to Build / Modify your Own Images to Flash to your device : https://github.com/TheKikGen/MPC-LiveXplore

  2. You will need a USB Pen Drive formatted to Ext4 Format with tkgl Bootstrap working. (you can also likely format pen drive in your Force/MPC).

  3. Download Install tkgl Bootstrap in your pen drive : TKGL BootStrap

  4. NodeJs for Arm7

    1. Download and Extract NodeJs from here : NodeJs Arm7

    2. Copy/ssh the .nodejs directory to root of your pen drive.

Installation

  1. Installing This APP

    1. Download this app from Github and extract. Download
    2. Copy .apps directory to root of your pen drive.
    3. Copy the "tkgl_bootstrap" and "tkgl_mod_nodejs.sh" files to the .tkgl_bootstrap directroy on your pen drive. These will automatically start the nodeJs server when your device starts.
  2. Setting permissions 1.If you are coming from windows or other system the file permissions might be screwed. Run the following commands to fix these.

    chmod +x /media/[yourpendrivename]/.nodejs/bin/n*

    chmod +x /media/[yourpendrivename]/.tkgl_bootstrap/scripts/*.sh

  3. Setting/Insalling SSL Guide: SSL Setup Guide

~ Amit Talwar www.amitszone.com

WARNING

The Code is functional,but is unoptimized, needs refactoring and may need commenting (though I tied to keep it as simeple as possible) which will take place over due course of time.

About

NodeJs App Server for Akai MPC and Akai Force Clients

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published