mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-04-22 10:26:56 +08:00
rp-start
This commit is contained in:
0
bin/rp-fix-permissions.coffee
Normal file
0
bin/rp-fix-permissions.coffee
Normal file
0
bin/rp-migration.coffee
Normal file
0
bin/rp-migration.coffee
Normal file
7
bin/rp-start.coffee
Executable file
7
bin/rp-start.coffee
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env coffee
|
||||
|
||||
child_process = require 'child_process'
|
||||
|
||||
child_process.exec "make start", {cwd: "#{__dirname}/../"}, (err) ->
|
||||
throw err if err
|
||||
process.exit()
|
||||
0
bin/rp-system-sync.coffee
Normal file
0
bin/rp-system-sync.coffee
Normal file
@@ -23,6 +23,12 @@
|
||||
"scripts": {
|
||||
"start": "make run"
|
||||
},
|
||||
"bin": {
|
||||
"rp-start": "./bin/rp-start.coffee",
|
||||
"rp-fix-permissions": "./bin/rp-fix-permissions.coffee",
|
||||
"rp-system-sync": "./bin/rp-system-sync.coffee",
|
||||
"rp-migration": "./bin/rp-migration.coffee"
|
||||
},
|
||||
"dependencies": {
|
||||
"jade": "^1.3",
|
||||
"express": "*",
|
||||
|
||||
Reference in New Issue
Block a user