0% found this document useful (0 votes)
23 views10 pages

CC Open Ended Lab

Uploaded by

rabiabatool0304
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views10 pages

CC Open Ended Lab

Uploaded by

rabiabatool0304
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Department of Software Engineering

Cloud Computing
Open-ended Lab
SUBMITTED TO:

• ENGR. MUHAMMAD SHOAIB


SUBMITTED BY:

• AREEJ INTISHAD (2022-BSE-046)


• MARIA SULTAN (2022-BSE-057)
Open-ended lab
Java web app:
1. Open Spring Initializer using https://start.spring.io/ and mark the following:

2. Click Generate.
3. Extract the downloaded folder.

4. Open the folder in IntelliJ


5. Click on src and then java

6. Create a new class by clicking on com.cloudcomputing.ccopenended


7. Source code:
8. Run CCOpenEndedApplication.java

9. Open the web browser and enter localhost:8080/hi


Python web app:
1. Create a GitHub Repository.

2. Clone Repository using GitHub Desktop App.

3. Create a static web app


You need to authenticate with Azure and GitHub in Visual Studio Code before proceeding.
The extension will prompt you to sign in to both services if you haven't already. Under the
Static Web Apps label, select the plus sign, and select your subscription and press Enter.
Select Custom.

To launch the GitHub Actions tab in your browser, select "Open Actions in GitHub". You'll then be
able to see the workflow run as it creates the app. Once your web app has been built and deployed,
you'll see a check for the workflow run.

After the app has been created, just head back to Visual Studio Code and you'll receive a
confirmation notification. The Visual Studio Code extension will also report the build status to you
as the deployment progresses and will keep you updated until your app has been built and
deployed.

4. Open the Repository you create in Visual Studio Code and create the file main.py:
5. Write the following code in main.pya

6. Now create an app.yaml


7. Write the following code in app. Yaml

8. Run main.py file


9. Copy the link http://127.0.0.1:8080

The end

You might also like