Course Repository Version 1.0.0
The is the course reference material. It includes:
- The course slide-deck presented on the day, with helpful references.
- Example files that may be useful in completing the course activities.
- Install "Git": https://git-scm.com/downloads
- Install "Python 3": https://www.python.org/downloads/
- Install "Atom Text Editor": https://atom.io
- Install "Putty": https://www.putty.org/
- Install "Docker Desktop": https://docs.docker.com/v17.09/engine/installation/#supported-platforms
- Sign-up to "Github": https://github.com/
- Sign-up to "Docker Hub": https://id.docker.com/login/
- Set-up Python language support for Atom: https://atom.io/packages/ide-python
- Set-up HTML language support for Atom: https://atom.io/packages/ide-html
- Set-up Jupyter Notebook file support for Atom: https://atom.io/packages/jupyter-notebook
git clone https://github.com/ArupAus/digital-foundations-cloud.git
git checkout master
virtualenv venv --python=python3
source venv/bin/activate
pip install -r requirements.txt
python
import printer
do = printer.Printer()
do.hello_world()
do.time_now()
Open "my-first-page.html" in suitable text editor and edit text content with <body/>
tag.
Open "my-first-page.html" with web browser.
jupyter notebook
Navigate to "my-first-request.ipnyb" and run all cells.
cd ./app
python plotter.py
Interface using web browser using link displayed in terminal
docker login
touch Dockerfile
docker build -t my-web-app .
docker images