Giter Site home page Giter Site logo

fgribreau / forever-webui Goto Github PK

View Code? Open in Web Editor NEW
293.0 19.0 36.0 2.77 MB

[unmaintained] :satellite: A simple web UI for efficient NodeJS processes administration

Home Page: http://blog.fgribreau.com/2012/03/process-management-at-bringr.html

License: BSD 3-Clause "New" or "Revised" License

JavaScript 73.09% Makefile 0.52% CSS 18.72% EJS 7.67%

forever-webui's Issues

TypeError: Object function (req, res, next)

Caught exception: TypeError: Object function (req, res, next) {
app.handle(req, res, next);
} has no method 'configure'

I have this error when I launch : "sudo npm start"

I don't understand how to fix my problem.

Deprecated ?

Hi devs,

this tools looks awesome, but before installing it a wanna make sure it's working.
It's looks like forever-webui has not been updated since few years.

This is currently in a functionnal state ?

Thank you !


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Start a process from the UI

We need to be able to start a Process from the UI, with basic parameters like App Log, Out Log, Err Log, and custom parameters for the Process.

At a minimum, the custom parameters are necessary for the Process.

Not able to start forever-webui

Hi, I'm getting the following error when trying to start the app.

$ node app.js

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: undefined is not a function
at Object. (/Volumes/Projects/forever-webui/node_modules/forever/lib/forever.js:45:23)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at Object. (/Volumes/Projects/forever-webui/app.js:6:13)
at Object. (/Volumes/Projects/forever-webui/app.js:197:4)
at Module._compile (module.js:432:26)

Kind Regards

Add gh-pages

Add gh-pages, with corresponding content to represent Forever web ui Home Page

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1144247-add-gh-pages?utm_campaign=plugin&utm_content=tracker%2F284235&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F284235&utm_medium=issues&utm_source=github).

npm clean not working

I tried npm clean but it is not being recognised. I got the following output:

Usage: npm <command>

where <command> is one of:
    add-user, adduser, apihelp, author, bin, bugs, c, cache,
    completion, config, ddp, dedupe, deprecate, docs, edit,
    explore, faq, find, find-dupes, get, help, help-search,
    home, i, info, init, install, isntall, issues, la, link,
    list, ll, ln, login, ls, outdated, owner, pack, prefix,
    prune, publish, r, rb, rebuild, remove, repo, restart, rm,
    root, run-script, s, se, search, set, show, shrinkwrap,
    star, stars, start, stop, submodule, tag, test, tst, un,
    uninstall, unlink, unpublish, unstar, up, update, v,
    version, view, whoami

undefined is not a function

node.js:202
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
TypeError: undefined is not a function
    at Object.<anonymous> (/usr/local/lib/node_modules/forever-webui/node_modules/forever/lib/forever.js:45:23)
    at Module._compile (module.js:432:26)
    at Object..js (module.js:450:10)
    at Module.load (module.js:351:31)
    at Function._load (module.js:310:12)
    at Module.require (module.js:357:17)
    at require (module.js:368:17)
    at Object.<anonymous> (/usr/local/lib/node_modules/forever-webui/app.js:6:13)
    at Object.<anonymous> (/usr/local/lib/node_modules/forever-webui/app.js:197:4)
    at Module._compile (module.js:432:26)

Create a build process from the makefile

Right now, the build is not automatic. We need to enable this from the makefile.

  1. Uglify & Minify JS & CSS assets.
  2. JS to CoffeScript updates.
  3. Enable Gzip compression at the App Level (this doesn't fall under this category, but I dont want to add one more issue just for this)

Can't install via npm

npm ERR! System Linux 2.6.32.12-0.7-default
npm ERR! command "node" "/usr/local/bin/npm" "install" "forever-webui"
npm ERR! cwd /data/taskServerDevel/toba-testbed/forever-webui
npm ERR! node -v v0.6.12
npm ERR! npm -v 1.1.36
npm ERR! type non_object_property_call
npm ERR! message Cannot call method 'filter' of undefined
npm ERR! addLocalDirectory Could not pack "/home/taskserver/tmp/npm-1557/1343392112451-0.7930171098560095/package" to "/home/taskserver/.npm/socket.io/0.6.18/package.tgz"
npm ERR! SyntaxError: Unexpected token }
npm ERR! at Object.parse (native)
npm ERR! at Packer.readRules (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js:185:33)
npm ERR! at Packer. (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js:132:22)
npm ERR! at [object Object]. (fs.js:115:5)
npm ERR! at [object Object].emit (events.js:64:17)
npm ERR! at afterRead (fs.js:1117:12)
npm ERR! at Object.wrapper as oncomplete
npm ERR! { [SyntaxError: Unexpected token }]
npm ERR! file: '/home/taskserver/tmp/npm-1557/1343392112451-0.7930171098560095/package/support/socket.io-client/lib/vendor/uglifyjs/package.json',
npm ERR! code: undefined,
npm ERR! path: '/home/taskserver/tmp/npm-1557/1343392112451-0.7930171098560095/package/support/socket.io-client/lib/vendor/uglifyjs',
npm ERR! fstream_type: 'Directory',
npm ERR! fstream_path: '/home/taskserver/tmp/npm-1557/1343392112451-0.7930171098560095/package/support/socket.io-client/lib/vendor/uglifyjs',
npm ERR! fstream_class: 'Packer',
npm ERR! fstream_stack:
npm ERR! [ 'Packer.readRules (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/fstream-npm.js:188:10)',
npm ERR! 'Packer. (/usr/local/lib/node_modules/npm/node_modules/fstream-npm/node_modules/fstream-ignore/ignore.js:132:22)',
npm ERR! '[object Object]. (fs.js:115:5)',
npm ERR! '[object Object].emit (events.js:64:17)',
npm ERR! 'afterRead (fs.js:1117:12)',
npm ERR! 'Object.wrapper as oncomplete' ] }

Improve the Forever processes listing layout to accomodate Fluid Layout

This is necessary, so that we can save the recently stopped processes, and hold them in the sidebar and can launch them again (restart) whenever we need.

Essentially, this needs a fluid layout.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1144267-improve-the-forever-processes-listing-layout-to-accomodate-fluid-layout?utm_campaign=plugin&utm_content=tracker%2F284235&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F284235&utm_medium=issues&utm_source=github).

Functional Tests

Create Functional Test Suite, so that Tests can be integrated with CI, and Build status will be known before something is broken.

Add logger support etc

  1. Logger, to log some essential things at the App server
  2. Favicon: some cool favicon to represent Forever webui

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1144241-add-logger-support-etc?utm_campaign=plugin&utm_content=tracker%2F284235&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F284235&utm_medium=issues&utm_source=github).

Restructure app.js code

Right now, the entire app server is in one single file: app.js. We need to restructure it, so that possible enhancements become much more easy & modular to do.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1144253-restructure-app-js-code?utm_campaign=plugin&utm_content=tracker%2F284235&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F284235&utm_medium=issues&utm_source=github).

Error on run using node v0.4.12

Error log:

/var/apps/foreverui  $ node node_modules/forever-webui/app.js 

node.js:134
        throw e; // process.nextTick error, or 'error' event on first tick
        ^
TypeError: undefined is not a function
    at CALL_NON_FUNCTION_AS_CONSTRUCTOR (native)
    at Object.<anonymous> (/var/apps/foreverui/node_modules/forever-webui/node_modules/forever/lib/forever.js:45:23)
    at Module._compile (module.js:411:26)
    at Object..js (module.js:417:10)
    at Module.load (module.js:343:31)
    at Function._load (module.js:302:12)
    at require (module.js:355:19)
    at Object.<anonymous> (/var/apps/foreverui/node_modules/forever-webui/app.js:6:13)
    at Object.<anonymous> (/var/apps/foreverui/node_modules/forever-webui/app.js:197:4)
    at Module._compile (module.js:411:26)

Any thoughts?

Can not use forever-webui on forever module

This is the forever module log :

error: Forever detected script exited with code: 0
error: Script restart attempt #12
[Sun May 10 2015 17:30:07]  WARN: Run: node add_user.js to add a user.
[Sun May 10 2015 17:30:07]  ERRR: Error: ENOENT, no such file or directory 'users.json'
error: Forever detected script exited with code: 0

However, I have added the users.json.
I think maybe the users.json is on my ~/dev/forever-webui,
and I run forever module on ~/

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/14035536-can-not-use-forever-webui-on-forever-module?utm_campaign=plugin&utm_content=tracker%2F284235&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F284235&utm_medium=issues&utm_source=github).

Neat!

This isn't really an issue, but I wanted to say this is cool :)

Authentication for Web UI

Login Authentication is necessary, so that the Console is restricted for authorised personnel usage, and not abused.

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.