FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
server/dev at master · javascript-tutorial/server · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
javascript-tutorial
/
server
Public
Notifications
You must be signed in to change notification settings
Fork
149
Star
475
Code
Issues
7
Pull requests
1
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
server
/
dev
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
21 lines (16 loc) · 487 Bytes
Breadcrumbs
server
/
dev
Copy path
File metadata and controls
executable file
·
21 lines (16 loc) · 487 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