Skip to content
Open

Up #421

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nodejs-helloworld/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start": "node app.js"
},
"author": "Red Hat Training",
"license": "ASL",
"license": "ASL"
"dependencies": {
"express" "4.14.x"
}
Expand Down
7 changes: 3 additions & 4 deletions s2i-scripts/.s2i/bin/assemble
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,10 @@ config_s2i
echo "---> Installing application source"
cp -Rf /tmp/src/*.html ./

DATE=`date "+%b %d, %Y @ %H:%M %p"`

DATE=$(date +%F)
echo "---> Creating info page"
echo "Page built on $DATE" >> ./info.html
echo "Proudly served by Apache HTTP Server version $HTTPD_VERSION" >> ./info.html
echo "Page built on ${DATE}" > ./info.html
echo "by Janey Alam" >> ./info.html

######## CUSTOMIZATION ENDS HERE ############

Expand Down