Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
ee16b82f
Commit
ee16b82f
authored
Feb 19, 2017
by
NGPixel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for wiki not restarting after upgrade
[ci skip]
parent
439c448d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
install.js
npm/install.js
+1
-1
package.json
npm/package.json
+1
-1
No files found.
npm/install.js
View file @
ee16b82f
...
@@ -75,7 +75,7 @@ pm2.connectAsync().then(() => {
...
@@ -75,7 +75,7 @@ pm2.connectAsync().then(() => {
*/
*/
return
new
Promise
((
resolve
,
reject
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
ora
.
text
=
'Upgrade succeeded. Starting Wiki.js...'
ora
.
text
=
'Upgrade succeeded. Starting Wiki.js...'
let
npmInstallProc
=
exec
(
'wiki start'
,
{
let
npmInstallProc
=
exec
(
'
node
wiki start'
,
{
cwd
:
installDir
cwd
:
installDir
})
})
npmInstallProc
.
stdout
.
pipe
(
process
.
stdout
)
npmInstallProc
.
stdout
.
pipe
(
process
.
stdout
)
...
...
npm/package.json
View file @
ee16b82f
{
{
"name"
:
"wiki.js"
,
"name"
:
"wiki.js"
,
"version"
:
"1.0.0-beta.8"
,
"version"
:
"1.0.0-beta.8
.1
"
,
"description"
:
"A modern, lightweight and powerful wiki app built on NodeJS, Git and Markdown"
,
"description"
:
"A modern, lightweight and powerful wiki app built on NodeJS, Git and Markdown"
,
"main"
:
"install.js"
,
"main"
:
"install.js"
,
"scripts"
:
{
"scripts"
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment