Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Up #421

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
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