You've already forked crontab-ui
mirror of
https://github.com/alseambusher/crontab-ui.git
synced 2025-12-15 11:43:58 +08:00
adding crontab-ui to npm
This commit is contained in:
@@ -14,10 +14,8 @@ Read [this](http://lifepluslinux.blogspot.in/2015/06/crontab-ui-easy-and-safe-wa
|
||||
|
||||
##Setup
|
||||
|
||||
git clone https://github.com/alseambusher/crontab-ui
|
||||
cd crontab-ui
|
||||
npm install
|
||||
node app.js
|
||||
npm install crontab-ui
|
||||
crontab-ui
|
||||
|
||||
###TODO
|
||||
|
||||
|
||||
2
app.js
2
app.js
@@ -132,5 +132,5 @@ app.get(routes.import_crontab, function(req, res) {
|
||||
})
|
||||
|
||||
app.listen(app.get('port'), function() {
|
||||
console.log("Crontab UI is running at localhost:" + app.get('port'))
|
||||
console.log("Crontab UI is running at localhost:" + app.get('port'))
|
||||
})
|
||||
|
||||
3
bin/crontab-ui.js
Executable file
3
bin/crontab-ui.js
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
var crontab = require('../app.js');
|
||||
@@ -4,7 +4,7 @@
|
||||
"description": "Easy and safe way to manage your crontab file",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"start": "node index.js"
|
||||
"start": "node app.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"express": "latest",
|
||||
@@ -17,6 +17,9 @@
|
||||
},
|
||||
"engines": {
|
||||
"node": "latest"
|
||||
},
|
||||
"bin": {
|
||||
"crontab-ui": "bin/crontab-ui.js"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user