Skip to content
This repository was archived by the owner on Jan 1, 2024. It is now read-only.

Commit 0c4f76e

Browse files
author
Uday
committed
just made a modification to demostrate Google App Engine to Faiza, Ramya
and Ankitha
1 parent ede8e64 commit 0c4f76e

File tree

10,962 files changed

+1109436
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

10,962 files changed

+1109436
-0
lines changed

old-yet-useful/Dockerfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM gcr.io/cloudshell-images/cloudshell:latest
2+
3+
RUN CUSTOM_ENV_PROJECT_ID=my-project-1537287712870
4+
RUN CUSTOM_ENV_REPO_ID=fileOneTesting
5+
6+
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
7+
RUN apt-get install -y nodejs
8+
RUN apt-get install -y build-essential
9+
10+
# Add your content here
11+
12+
# To trigger a rebuild of your Cloud Shell image:
13+
# 1. Commit your changes locally: git commit -a
14+
# 2. Push your changes upstream: git push origin master
15+
16+
# This triggers a rebuild of your image hosted at gcr.io/my-project-1537287712870/fileOneTesting.
17+
# You can find the Cloud Source Repository hosting this file at https://source.developers.google.com/p/my-project-1537287712870/r/fileOneTesting

test-app-01/.gcloudignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This file specifies files that are *not* uploaded to Google Cloud Platform
2+
# using gcloud. It follows the same syntax as .gitignore, with the addition of
3+
# "#!include" directives (which insert the entries of the given .gitignore-style
4+
# file at that point).
5+
#
6+
# For more information, run:
7+
# $ gcloud topic gcloudignore
8+
#
9+
.gcloudignore
10+
# If you would like to upload your .git directory, .gitignore file or files
11+
# from your .gitignore file, remove the corresponding line
12+
# below:
13+
.git
14+
.gitignore
15+
16+
# Node.js dependencies:
17+
node_modules/

test-app-01/app.js

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
// Copyright 2018, Google LLC.
2+
// Licensed under the Apache License, Version 2.0 (the "License");
3+
// you may not use this file except in compliance with the License.
4+
// You may obtain a copy of the License at
5+
//
6+
// http://www.apache.org/licenses/LICENSE-2.0
7+
//
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
14+
'use strict';
15+
16+
const express = require('express');
17+
18+
const app = express();
19+
20+
// [START hello_world]
21+
// Say hello!
22+
app.get('/', (req, res) => {
23+
res.status(200).send('Hel Ankitha, this is the testbed for our BE Final Year Projectd!');
24+
});
25+
// [END hello_world]
26+
27+
if (module === require.main) {
28+
// [START server]
29+
// Start the server
30+
const server = app.listen(process.env.PORT || 8080, () => {
31+
const port = server.address().port;
32+
console.log(`App listening on port ${port}`);
33+
});
34+
// [END server]
35+
}
36+
37+
module.exports = app;

test-app-01/app.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
runtime: nodejs10

test-app-01/node_modules/.bin/atob

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app-01/node_modules/.bin/ava

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app-01/node_modules/.bin/babylon

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app-01/node_modules/.bin/esparse

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app-01/node_modules/.bin/esvalidate

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test-app-01/node_modules/.bin/handlebars

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)