FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
javascript-tutorial-server/dev at master · fssh/javascript-tutorial-server · GitHub
fssh
/
javascript-tutorial-server
Public
forked from
javascript-tutorial/server
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
javascript-tutorial-server
/
dev
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
22 lines (16 loc) · 489 Bytes
Breadcrumbs
javascript-tutorial-server
/
dev
Copy path
File metadata and controls
executable file
·
22 lines (16 loc) · 489 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!
/bin/bash
:
${1?
"
Usage:
$0
<server language>
"
}
set
-e
export
NODE_LANG=
$1
export
TUTORIAL_LANG=
$1
export
NODE_ENV=development
export
ASSET_VERSIONING=query
export
WATCH=1
export
SITE_HOST=http://javascript.local
export
TUTORIAL_EDIT=
export
NODE_PRESERVE_SYMLINKS=1
#
Use a local bunyan if no other is found in the current environment
if
!
[
-x
"
$(
command -v bunyan
)
"
]
;
then
export
PATH=
"
$PATH
:./node_modules/bunyan/bin
"
fi
npm --silent run gulp dev
|
bunyan -o short -l debug
Back
|
FazBrowse Home
|
New Git URL