© The Chancellor, Masters and Scholars of The University of Oxford. All rights reserved.
This course is available for multiple cloud providers. Choose your preferred platform:
- Hello Google Cloud
- Hello Microsoft Azure
- Hello Amazon Web Services (⭐ Most popular)
- Hello Oracle Cloud (Coming Soon)
Note: Entries marked with "Coming Soon" are planned versions that are currently under development.
Step 1. Fork (or make a copy of) this repository
Create the app and wait for deployment. Voilà! Access the URL.You can commit some changes to your repository and watch how the service is updated automatically.
The simplest way to delete all the resources you just created is to type "Resource Groups" in the search bar and delete the group that you created earlier.
Add the following code in app.py
@app.route("/hello_api")
def hello_api():
return {
"name": "Wrinkle Five Star",
"species": "Duck",
"breed": "American Pekin",
"hatching_date": "2020-09-09",
"sex": "Male"
}
...
Missing contentGo to the Azure Console and type "SQL" in the search bar
Missing contentGo to the Azure Console and type "Storage accounts" in the search bar
Missing contentAfter a while, it's not fun anymore to wait for deployment. You want to test your changes before.
Step 1. Install git and clone the repository on your local machine
git clone {repository_link}
Step 2. Install Python
https://www.python.org/downloads/
Step 3. Install dependencies
py -m pip install flask
Step 4. Run flask
py -m flask run
Open localhost:5000 in your browser.