Web GUI/UI – Administrating A Kubernetes Cluster Created With Angular

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Web GUI – Administrating A Kubernetes Cluster I am working on a Web GUI to Administrate a Kubernetes Cluster. this includes all manipulation i.e. stats lookups, add, modify, deletes. all manipulations are using the official Kubernetes API’s. Details as well as the full code is available on my Github repository. In the next few weeks […]

Read More

Solaris NodeJS zone install and configuration

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Solaris NodeJS zone install and configuration First, lets Compile NodJS from source, get the source from the NodeJS website. Something like the below should work to compile. env CC=gcc ./configure –prefix=/opt/node-v6.2.2 # for 8 cpu’s gmake -j 8 gmake install Next, lets modify the zone properties and distribute the compiled bundle to all the Solaris […]

Read More

NodeJS and mongoose

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

npm install mongoose app.js var express = require(‘express’); var os = require(‘os’); // Mongoose import var mongoose = require(‘mongoose’); // Mongoose connection to MongoDB (ted/ted is readonly) mongoose.connect(‘mongodb://127.0.0.1/users’, function (error) { if (error) { console.log(error); } }); // Mongoose Schema definition var Schema = mongoose.Schema; var UserSchema = new Schema({ hostname: String, loadavrg: String, totalmem: […]

Read More

Node JS and express

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Bootstrap + nodejs http://lresende.blogspot.com/2015/01/nodejs-building-html-site-template.html Express using EJS (not jade the default) express –ejs node_app2 In the Views > headers.ejs In the index.ejs Hello, world! This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three supporting pieces of content. Use it as a starting point […]

Read More

Nodejs Bootstrap and Express project

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Configuring NodeJS, Express, and Bootstrap npm install –save express-partials Initialize /install NodeJS express Module npm install -g express-generator Create all need structure with express express –ejs bootstrap/ Finally, install NodeJS modules npm install Next, start NodeJS npm start Note: If you are using Netbeans, to be able to start from within Netbeans, add the below […]

Read More

Setting Node JS / NPM Proxy

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

To make node js or npm work behind a firewall Get node compiled for Solaris from http://www.petertribble.co.uk/Solaris/node.html Note: after pkgadd, move Node to node. also modify this file /opt/node/lib/node_modules/npm/bin/npm-cli.js Disable strict ssl use npm config set strict-ssl false Set the regstry to non https npm config set registry http://registry.npmjs.org/ Verfy with npm config list Then […]

Read More

How to configure mediawiki and VisualEditor with Parsoid

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Configuring MediaWiki to use NodeJS and Parsoid Note: This post references an old version of NodeJS. You can install the latest version of NodeJS and self compile it. to do so, for full details just follow this post. First you need to download NodesJS, download from http://nodejs.org/dist/v0.10.20/node-v0.10.20-sunos-x64.tar.gz Extract to /opt/node and add node to the […]

Read More