Python web frameworks

Size: px
Start display at page:

Download "Python web frameworks"

Transcription

1 Flask

2 Python web frameworks Django Roughly follows MVC pattern Steeper learning curve. Flask Initially an April Fools joke Micro -framework: minimal approach. Smaller learning curve

3 Setting up Flask on your Ubuntu VM sudo apt-get update y sudo apt-get install python3-pip virtualenv -y # Create a local version of Python environment (see next slide) mkdir hw2 cd hw2 virtualenv -p python3 env source env/bin/activate pip3 install flask # edit web application files in this directory (e.g. app.py) # then run python app.py

4 virtualenv A way to create an instance of Python for you to install applications specific to your application Within hw2 directory: virtualenv env Creates a directory called env that will hold all modules you install (i.e. your environment) source env/bin/activate Sets up the shell to use the environment in env Must be done everytime you want to run your app pip3 install flask Installs flask into your Python virtual environment Or if a file requirements.txt provided: pip3 install r requirements.txt Installs all packages specified in file Note: to ensure that the env directory is not included in your repository add a.gitignore file in the top-level of your repository that includes env e.g. echo "env" >!.gitignore

5 Flask directory structure Convention: (assuming app.py stored in hw2) hw2/ static/ Directory holding static content (e.g. images, regular HTML) templates/ Directory holding Jinja2 HTML templates

6 Hello world app.py Create app as a Flask object Use route() method of Flask with parameter '/' to wrap a function that will return a page when the URL is accessed When called directly by python, use the run() method of Flask to launch the web app on all IP addresses of the host using port 8888 Not run when integrated with apache2/nginx WSGI

7 Flask views Ways of presenting pages that URLs route to MethodView defines views per HTTP request method based on a URL pattern Decoupling allows a view to be used for multiple routes Added later in development

8 REPL Python/Flask app WebDev_Repl_FlaskBasics Read-Evaluate-Print-Loop for Python Demo

9 app.py MethodViews stored in main.py, repl.py and test.py Routes added for '/', '/repl/', and '/test/' Named per URL endpoint via as_view When url_for method called on named view, the URL is returned

10 main.py (Part 1: get) MethodView for Main defines view for GET on '/' Calls built-in render_template class method in Flask to render Jinja2 template

11 templates/index.html Jinja2 template for main page Leverages Flask's session object to get username if authenticated Uses name from as_view to retrieve URL for form action ('/') Implements a POST Logout if logged in Username and Password if not logged in

12 A word about Jinja2 templates Base page is like a base class Sub pages are like derived classes Example Base page layout.html Base page layout.html

13 main.py (Part 2: post) MethodView for Main also defines view for POST on '/' Logout processed if corresponding form button pressed Process login (ensure username and passwd given) Grab form fields submitted and check credentials Create a session with username supplied if successful and redirect to Use Flask's redirect method to reload URL for index view ('/')

14 util.py Defines login_required function as a decorator via functools.wraps() Wraps other functions in app to ensure authenticated use

15 templates/repl.html Form submission for executing commands repl.py Python for executing command given in form login_required decorator, eval expression (never use!)

16 Flashed messages Mechanism for sending status or error messages into a Jinja2 template

17 Guestbook Python/Flask app WebDev_Guestbook_sqlite3 Guestbook backed by sqlite3 database Simple monolithic MVC app Model and Controller in main.py View in templates (Does not use Flask's View support)

18 main.py (model) Has select() and insert() methods For hw2 implement both but deliver via dictionary (does not persist upon script termination)

19 main.py Controller has 3 routes index() uses select() method in model to populate dictionary to send to template to list guestbook entries sign() uses insert() method in model to insert new entry into database from form

20 News Article Python/Flask app WebDev_NewsArticles_MVP MVP, MySQL example Defines a base class for model (specify interface) Derive model implementations from it In-memory dictionary (hw2) File system Sqlite3 (hw3) MySQL Eventually, App Engine DataStore (hw5)

21 app.py Contains routes from URLs to individual Presenters

22 app.py Some routes require being logged in

23 IModel.py Defines an abstract data type for model Methods that must be supported, their parameters, and return values Specific instantiation for MySQL in model.py Define abstract method fetchall()

24 IModel.py Define abstract methods art() and add_art()

25 model.py (specific model for MySQL) Initialize MySQL Implement fetchall() Implement art() and add_art()

26 presenter.py Provide views based on presenter function Interface with model object given in constructor Example: articles() uses model method self.model.fetchall() Pass to template

27 presenter.py add_article and single article presenter leveraging model methods add_art() and art() before passing to template

28 Homework

29 Preview Homework #2-5 Incremental construction of a scalable CS course review web site HW #2: Simple Python Flask MVP web app with hardcoded reviews HW #3: Add sqlite3 database, read/create/delete HW #4: Containerize web app, deploy on Compute Engine HW #5: Adapt Model and deploy on Platform-as-a- Service (AppEngine, AppEngine datastore)

30 Homework #2 Create a toy Python Flask web application for viewing (and eventually submitting) anonymous reviews of courses Within private repository, create a directory "hw2" for your application Application should follow an MVP pattern and support two routes/views initially Default landing page Page for reading all reviews Application should create an abstract data model that serves as the base class for specific instantiations (Python dict, sqlite3, AppEngine, etc) Abstract model should be documented as shown in News Article app Model should support fields that a course review would typically have Term offered, year offered, time of the week offered, instructor, review, rating, etc. For Homework #2, model data may be hard-coded within model script as a Python dictionary (will add functionality later) Application should listen on port 8000 Submit via Bitbucket Ensure changes are committed frequently

31 Deployment

32 Production web applications Python/Flask development server *not* built for performance Static files not handled efficiently Typically, integrated with a production web server that serves static content e.g. apache2 or nginx

33 WSGI Web Server Gateway interface (similar to old-school cgi interface) Standard that specifies communication between apache2/nginx and a web application Implementations include uwsgi, mod_wsgi, and gunicorn Takes the place of mod_python in apache2 Effectively a reverse-proxy that routes incoming requests to appropriate web application destination

34 Pictorial representation (adapted from realpython.com)

35 CS 201 Tutoring Python/Flask app WebDev_itscs201 Google Compute Engine /etc/nginx/sites-available (sites-enabled) /etc/nginx/sites-available/itscs201 /etc/uwsgi/sites-available (sites-enabled) /etc/uwsgi/sites-available/itscs201.ini

36 server { listen 80; server_tokens off; server_name itscs201.oregonctf.org; root /var/www/html/itscs201/www; location / { include uwsgi_params; uwsgi_pass unix:///tmp/itscs201.sock; } location /static { alias /var/www/html/itscs201/www/static; } } ## Only requests to our Host are allowed if ($host!~ ^(oregonctf.org itscs201.oregonctf.org)$ ) { return 444; }

37 Example itscs201 Install script (install_nginx.sh) Install packages Configure nginx with sites-available, sites-enabled Configure uwsgi with apps-available, apps-enabled, and a domain socket to communicate to nginx Restart services Optionally, obtain a Let's Encrypt cert # sudo add-apt-repository ppa:certbot/certbot -y # sudo apt-get update # sudo apt-get install certbot python-certbot-nginx -y # sudo certbot --nginx

Jackalope Documentation

Jackalope Documentation Jackalope Documentation Release 0.2.0 Bryson Tyrrell May 23, 2017 Getting Started 1 Create the Slack App for Your Team 3 2 Deploying the Slack App 5 2.1 Run from application.py.........................................

More information

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. TurboGears

About the Tutorial. Audience. Prerequisites. Disclaimer & Copyright. TurboGears About the Tutorial TurboGears is a Python web application framework, which consists of many modules. It is designed around the MVC architecture that are similar to Ruby on Rails or Struts. TurboGears are

More information

HOW TO FLASK. And a very short intro to web development and databases

HOW TO FLASK. And a very short intro to web development and databases HOW TO FLASK And a very short intro to web development and databases FLASK Flask is a web application framework written in Python. Created by an international Python community called Pocco. Based on 2

More information

IEMS 5722 Mobile Network Programming and Distributed Server Architecture Semester 2

IEMS 5722 Mobile Network Programming and Distributed Server Architecture Semester 2 IEMS 5722 Mobile Network Programming and Distributed Server Architecture 2016-2017 Semester 2 Assignment 3: Developing a Server Application Due Date: 10 th March, 2017 Notes: i.) Read carefully the instructions

More information

LECTURE 15. Web Servers

LECTURE 15. Web Servers LECTURE 15 Web Servers DEPLOYMENT So, we ve created a little web application which can let users search for information about a country they may be visiting. The steps we ve taken so far: 1. Writing the

More information

A Sample Approach to your Project

A Sample Approach to your Project A Sample Approach to your Project An object-oriented interpreted programming language Python 3 :: Flask :: SQLite3 A micro web framework written in Python A public domain, barebones SQL database system

More information

datapusher Documentation

datapusher Documentation datapusher Documentation Release 1.0 Open Knowledge International July 13, 2018 Contents 1 Development installation 3 2 Production installation and Setup 5 2.1 Download and Install (All CKAN Versions)...............................

More information

CS 410/510: Web Security X1: Labs Setup WFP1, WFP2, and Kali VMs on Google Cloud

CS 410/510: Web Security X1: Labs Setup WFP1, WFP2, and Kali VMs on Google Cloud CS 410/510: Web Security X1: Labs Setup WFP1, WFP2, and Kali VMs on Google Cloud Go to Google Cloud Console => Compute Engine => VM instances => Create Instance For the Boot Disk, click "Change", then

More information

nacelle Documentation

nacelle Documentation nacelle Documentation Release 0.4.1 Patrick Carey August 16, 2014 Contents 1 Standing on the shoulders of giants 3 2 Contents 5 2.1 Getting Started.............................................. 5 2.2

More information

Gunnery Documentation

Gunnery Documentation Gunnery Documentation Release 0.1 Paweł Olejniczak August 18, 2014 Contents 1 Contents 3 1.1 Overview................................................. 3 1.2 Installation................................................

More information

RedBarrel Documentation

RedBarrel Documentation RedBarrel Documentation Release 1.0 2011, Tarek Ziadé August 08, 2011 CONTENTS 1 What s RedBarrel? 3 1.1 Anatomy of a Web Service........................................ 3 1.2 The RBR DSL..............................................

More information

Trunk Player Documentation

Trunk Player Documentation Trunk Player Documentation Release 0.0.1 Dylan Reinhold Nov 25, 2017 Contents 1 Installation 3 1.1 System Prerequisites........................................... 3 1.2 Assumptions...............................................

More information

Patch Server for Jamf Pro Documentation

Patch Server for Jamf Pro Documentation Patch Server for Jamf Pro Documentation Release 0.8.2 Bryson Tyrrell Jun 06, 2018 Contents 1 Change History 3 2 Using Patch Starter Script 7 3 Troubleshooting 9 4 Testing the Patch Server 11 5 Running

More information

I hate money. Release 1.0

I hate money. Release 1.0 I hate money Release 1.0 Nov 01, 2017 Contents 1 Table of content 3 2 Indices and tables 15 i ii «I hate money» is a web application made to ease shared budget management. It keeps track of who bought

More information

Quick housekeeping Last Two Homeworks Extra Credit for demoing project prototypes Reminder about Project Deadlines/specifics Class on April 12th Resul

Quick housekeeping Last Two Homeworks Extra Credit for demoing project prototypes Reminder about Project Deadlines/specifics Class on April 12th Resul CIS192 Python Programming Web Frameworks and Web APIs Harry Smith University of Pennsylvania March 29, 2016 Harry Smith (University of Pennsylvania) CIS 192 March 29, 2016 1 / 25 Quick housekeeping Last

More information

Web client programming

Web client programming Web client programming JavaScript/AJAX Web requests with JavaScript/AJAX Needed for reverse-engineering homework site Web request via jquery JavaScript library jquery.ajax({ 'type': 'GET', 'url': 'http://vulnerable/ajax.php',

More information

Building Web Applications

Building Web Applications Building Web Applications Ambient intelligence Fulvio Corno Politecnico di Torino, 2017/2018 Goal Create simple web applications In Python For interactive interfaces For server-side components Learn a

More information

Getting Started with the Google Cloud SDK on ThingsPro 2.0 to Publish Modbus Data and Subscribe to Cloud Services

Getting Started with the Google Cloud SDK on ThingsPro 2.0 to Publish Modbus Data and Subscribe to Cloud Services to Publish Modbus Data and Subscribe to Cloud Services Contents Moxa Technical Support Team support@moxa.com 1 Introduction... 2 2 Application Scenario... 2 3 Prerequisites... 3 4 Solution... 3 4.1 Set

More information

How Docker Compose Changed My Life

How Docker Compose Changed My Life How Docker Compose Changed My Life Bryson Tyrrell Desktop Support Specialist I m Bryson Tyrrell, a Desktop Services Specialist with Jamf s IT department. Or at least I was Bryson Tyrrell System Administrator

More information

Technical Note: On The Usage and Development of the AWAKE Web Server and Web Applications

Technical Note: On The Usage and Development of the AWAKE Web Server and Web Applications Technical Note: On The Usage and Development of the AWAKE Web Server and Web Applications Dillon Berger August 10, 2017 Introduction The purpose of this technical note is to give a brief explanation of

More information

LECTURE 14. Web Frameworks

LECTURE 14. Web Frameworks LECTURE 14 Web Frameworks WEB DEVELOPMENT CONTINUED Web frameworks are collections of packages or modules which allow developers to write web applications with minimal attention paid to low-level details

More information

LECTURE 14. Web Frameworks

LECTURE 14. Web Frameworks LECTURE 14 Web Frameworks WEB DEVELOPMENT CONTINUED Web frameworks are collections of packages or modules which allow developers to write web applications with minimal attention paid to low-level details

More information

Deployability. of Python. web applications

Deployability. of Python. web applications Deployability of Python web applications Bruno Renié EuroPython 2013 Deployability, n The extent to which something is deployable Disclaimer Most of this isn't python-specific or even web-specific Oriented

More information

Flask Web Development Course Catalog

Flask Web Development Course Catalog Flask Web Development Course Catalog Enhance Your Contribution to the Business, Earn Industry-recognized Accreditations, and Develop Skills that Help You Advance in Your Career March 2018 www.iotintercon.com

More information

Using RDP with Azure Linux Virtual Machines

Using RDP with Azure Linux Virtual Machines Using RDP with Azure Linux Virtual Machines 1. Create a Linux Virtual Machine with Azure portal Create SSH key pair 1. Install Ubuntu Bash shell by downloading and running bash.exe file as administrator.

More information

CIS192 Python Programming

CIS192 Python Programming CIS192 Python Programming Web Servers and Web APIs Raymond Yin University of Pennsylvania November 12, 2015 Raymond Yin (University of Pennsylvania) CIS 192 November 12, 2015 1 / 23 Outline 1 Web Servers

More information

Building Scalable Web Apps with Python and Google Cloud Platform. Dan Sanderson, April 2015

Building Scalable Web Apps with Python and Google Cloud Platform. Dan Sanderson, April 2015 Building Scalable Web Apps with Python and Google Cloud Platform Dan Sanderson, April 2015 June 2015 pre-order now Agenda Introducing GCP & GAE Starting a project with gcloud and Cloud Console Understanding

More information

app = web.application(urls, globals()) class hello: def GET(self, name): if not name: name = 'World' return 'Hello, ' + name + '!' if name == " main "

app = web.application(urls, globals()) class hello: def GET(self, name): if not name: name = 'World' return 'Hello, ' + name + '!' if name ==  main How to deploy web.py applications In this article you will learn how to deploy a web.py application under Linux / UNIX environments. You can refer to our article titled, How to install web.py if you don

More information

Bitnami Ruby for Huawei Enterprise Cloud

Bitnami Ruby for Huawei Enterprise Cloud Bitnami Ruby for Huawei Enterprise Cloud Description Bitnami Ruby Stack provides a complete development environment for Ruby on Rails that can be deployed in one click. It includes most popular components

More information

CIS192 Python Programming

CIS192 Python Programming CIS192 Python Programming Web Servers and Web APIs Eric Kutschera University of Pennsylvania March 6, 2015 Eric Kutschera (University of Pennsylvania) CIS 192 March 6, 2015 1 / 22 Outline 1 Web Servers

More information

Bitnami JRuby for Huawei Enterprise Cloud

Bitnami JRuby for Huawei Enterprise Cloud Bitnami JRuby for Huawei Enterprise Cloud Description JRuby is a 100% Java implementation of the Ruby programming language. It is Ruby for the JVM. JRuby provides a complete set of core built-in classes

More information

Technical Manual. Software Quality Analysis as a Service (SQUAAD) Team No.1. Implementers: Aleksandr Chernousov Chris Harman Supicha Phadungslip

Technical Manual. Software Quality Analysis as a Service (SQUAAD) Team No.1. Implementers: Aleksandr Chernousov Chris Harman Supicha Phadungslip Technical Manual Software Quality Analysis as a Service (SQUAAD) Team No.1 Implementers: Aleksandr Chernousov Chris Harman Supicha Phadungslip Testers: Kavneet Kaur Reza Khazali George Llames Sahar Pure

More information

Biostar Central Documentation. Release latest

Biostar Central Documentation. Release latest Biostar Central Documentation Release latest Oct 05, 2017 Contents 1 Features 3 2 Support 5 3 Quick Start 7 3.1 Install................................................... 7 3.2 The biostar.sh manager..........................................

More information

2. What is Google App Engine. Overview Google App Engine (GAE) is a Platform as a Service (PaaS) cloud computing platform for developing and hosting web applications in Google-managed data centers. Google

More information

How To Start Mysql Using Linux Command Line Client In Ubuntu

How To Start Mysql Using Linux Command Line Client In Ubuntu How To Start Mysql Using Linux Command Line Client In Ubuntu Step One: Install MySQL Client On Debian, Ubuntu or Linux Mint: Before you start typing commands at the MySQL prompt, remember that each In

More information

Cloud Computing II. Exercises

Cloud Computing II. Exercises Cloud Computing II Exercises Exercise 1 Creating a Private Cloud Overview In this exercise, you will install and configure a private cloud using OpenStack. This will be accomplished using a singlenode

More information

Django MFA Documentation

Django MFA Documentation Django MFA Documentation Release 1.0 Micro Pyramid Sep 20, 2018 Contents 1 Getting started 3 1.1 Requirements............................................... 3 1.2 Installation................................................

More information

Bishop Blanchet Intranet Documentation

Bishop Blanchet Intranet Documentation Bishop Blanchet Intranet Documentation Release 1.0 Luis Naranjo December 11, 2013 Contents 1 What is it? 1 2 LDAP Authentication 3 3 Types of users 5 3.1 Super user................................................

More information

Deploying a Production Gateway with Airavata

Deploying a Production Gateway with Airavata Deploying a Production Gateway with Airavata Table of Contents Pre-requisites... 1 Create a Gateway Request... 1 Gateway Deploy Steps... 2 Install Ansible & Python...2 Deploy the Gateway...3 Gateway Configuration...

More information

coxtactoe Documentation

coxtactoe Documentation coxtactoe Documentation Release 0.1.0 Brett Anderson July 13, 2014 Contents 1 Contents 1 1.1 Pre-requisites............................................... 1 1.2 Installation & Configuration.......................................

More information

SUG Breakout Session: OSC OnDemand App Development

SUG Breakout Session: OSC OnDemand App Development SUG Breakout Session: OSC OnDemand App Development Basil Mohamed Gohar Web and Interface Applications Manager Eric Franz Senior Engineer & Technical Lead This work is supported by the National Science

More information

Dell EMC Networking Saltstack Integration Documentation

Dell EMC Networking Saltstack Integration Documentation Dell EMC Networking Saltstack Integration Documentation Release 1.0 Dell EMC Networking Team Sep 07, 2018 Table of Contents 1 Introduction 1 1.1 Salt....................................................

More information

Bitnami HHVM for Huawei Enterprise Cloud

Bitnami HHVM for Huawei Enterprise Cloud Bitnami HHVM for Huawei Enterprise Cloud Description HHVM is an open source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time (JIT) compilation approach

More information

DIGIT.B4 Big Data PoC

DIGIT.B4 Big Data PoC DIGIT.B4 Big Data PoC GROW Transpositions D04.01.Information System Table of contents 1 Introduction... 4 1.1 Context of the project... 4 1.2 Objective... 4 2 Technologies used... 5 2.1 Python... 5 2.2

More information

Web-based ios Configuration Management

Web-based ios Configuration Management World 2012 Web-based ios Configuration Management Tim Bell Trinity College, University of Melbourne tbell@trinity.unimelb.edu.au @timb07 About me and why I m here Linux System Administrator Responsibility

More information

Bitnami MEAN for Huawei Enterprise Cloud

Bitnami MEAN for Huawei Enterprise Cloud Bitnami MEAN for Huawei Enterprise Cloud Description Bitnami MEAN Stack provides a complete development environment for mongodb and Node.js that can be deployed in one click. It includes the latest stable

More information

CS50 Quiz Review. November 13, 2017

CS50 Quiz Review. November 13, 2017 CS50 Quiz Review November 13, 2017 Info http://docs.cs50.net/2017/fall/quiz/about.html 48-hour window in which to take the quiz. You should require much less than that; expect an appropriately-scaled down

More information

Locate your Advanced Tools and Applications

Locate your Advanced Tools and Applications MySQL Manager is a web based MySQL client that allows you to create and manipulate a maximum of two MySQL databases. MySQL Manager is designed for advanced users.. 1 Contents Locate your Advanced Tools

More information

The Pyramid Web Application Development Framework

The Pyramid Web Application Development Framework The Pyramid Web Application Development Framework www.pylonsproject.org Martin Geisler Dealini July 4th, 2013 1 / 20 Outline Introduction Handling a Request Routes Views Renderers Mako Templates Conclusion

More information

We want to install putty, an ssh client on the laptops. In the web browser goto:

We want to install putty, an ssh client on the laptops. In the web browser goto: We want to install putty, an ssh client on the laptops. In the web browser goto: www.chiark.greenend.org.uk/~sgtatham/putty/download.html Under Alternative binary files grab 32 bit putty.exe and put it

More information

SCALING DRUPAL TO THE CLOUD WITH DOCKER AND AWS

SCALING DRUPAL TO THE CLOUD WITH DOCKER AND AWS SCALING DRUPAL TO THE CLOUD WITH DOCKER AND AWS Dr. Djun Kim Camp Pacific OUTLINE Overview Quick Intro to Docker Intro to AWS Designing a scalable application Connecting Drupal to AWS services Intro to

More information

Booting a Galaxy Instance

Booting a Galaxy Instance Booting a Galaxy Instance Create Security Groups First time Only Create Security Group for Galaxy Name the group galaxy Click Manage Rules for galaxy Click Add Rule Choose HTTPS and Click Add Repeat Security

More information

Index. Bessel function, 51 Big data, 1. Cloud-based version-control system, 226 Containerization, 30 application, 32 virtualize processes, 30 31

Index. Bessel function, 51 Big data, 1. Cloud-based version-control system, 226 Containerization, 30 application, 32 virtualize processes, 30 31 Index A Amazon Web Services (AWS), 2 account creation, 2 EC2 instance creation, 9 Docker, 13 IP address, 12 key pair, 12 launch button, 11 security group, 11 stable Ubuntu server, 9 t2.micro type, 9 10

More information

Automatic Creation of a Virtual Network with VBoxManage [1]

Automatic Creation of a Virtual Network with VBoxManage [1] Automatic Creation of a Virtual Network with V... 1 Automatic Creation of a Virtual Network with VBoxManage [1] Submitted by Steve [2] on Wed, 18/09/2013-5:46pm I am using VirtualBox to create multiple

More information

TangeloHub Documentation

TangeloHub Documentation TangeloHub Documentation Release None Kitware, Inc. September 21, 2015 Contents 1 User s Guide 3 1.1 Managing Data.............................................. 3 1.2 Running an Analysis...........................................

More information

Download and install MySQL server 8 in Windows. Step1: Download windows installer

Download and install MySQL server 8 in Windows. Step1: Download windows installer Download and install MySQL server 8 in Windows Step1: Download windows installer Step 2: Select Developer Default setup type Step 3: Installation Choose Legacy Authentication Method Step 4: Configuration

More information

VMware Horizon View Deployment

VMware Horizon View Deployment VMware Horizon View provides end users with access to their machines and applications through a unified workspace across multiple devices, locations, and connections. The Horizon View Connection Server

More information

Patch Server for Jamf Pro Documentation

Patch Server for Jamf Pro Documentation Patch Server for Jamf Pro Documentation Release 0.7.0 Bryson Tyrrell Mar 16, 2018 Contents 1 Change History 3 2 Setup the Patch Server Web Application 7 3 Add Your Patch Server to Jamf Pro 11 4 API Authentication

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer About the Tutorial PyCharm is the most popular IDE for Python, and includes great features such as excellent code completion and inspection with advanced debugger and support for web programming and various

More information

UDS Enterprise Free & Evaluation Edition. Lab UDS Enterprise + VMware vsphere + RDP/XRDP

UDS Enterprise Free & Evaluation Edition. Lab UDS Enterprise + VMware vsphere + RDP/XRDP UDS Enterprise Free & Evaluation Edition Lab UDS Enterprise + VMware vsphere + RDP/XRDP 1 INDEX Introduction 03 Deployment of UDS Enterprise Free & Evaluation Edition 04 Upload UDS Appliances to VMware

More information

Building a Python Flask Website A beginner-friendly guide

Building a Python Flask Website A beginner-friendly guide Building a Python Flask Website A beginner-friendly guide PythonHow.com Copyright 2016 PythonHow.com. All rights reserved. 1 Preface This book contains a quick guide on understanding and using the Python

More information

IERG 4080 Building Scalable Internet-based Services

IERG 4080 Building Scalable Internet-based Services Department of Information Engineering, CUHK MScIE 2 nd Semester, 2015/16 IERG 4080 Building Scalable Internet-based Services Lecture 9 Web Sockets for Real-time Communications Lecturer: Albert C. M. Au

More information

Buzzy Documentation. Release 0. Sebastian Pawluś

Buzzy Documentation. Release 0. Sebastian Pawluś Buzzy Documentation Release 0 Sebastian Pawluś November 10, 2015 Contents 1 Install 3 2 Quick Start 5 3 Renderers 7 4 Settings 9 5 Commands 11 6 Why yield 13 7 Source Code 15 i ii Buzzy Documentation,

More information

Bitnami Re:dash for Huawei Enterprise Cloud

Bitnami Re:dash for Huawei Enterprise Cloud Bitnami Re:dash for Huawei Enterprise Cloud Description Re:dash is an open source data visualization and collaboration tool. It was designed to allow fast and easy access to billions of records in all

More information

Using NGiNX for release automation at The Atlantic

Using NGiNX for release automation at The Atlantic Using NGiNX for release automation at The Atlantic About the speakers Mike Howsden is the DevOps Lead at The Atlantic Frankie Dintino is a Senior Full-Stack Developer at The Atlantic One Virtual Machine

More information

Developing ASP.NET MVC 4 Web Applications

Developing ASP.NET MVC 4 Web Applications Developing ASP.NET MVC 4 Web Applications Course 20486B; 5 days, Instructor-led Course Description In this course, students will learn to develop advanced ASP.NET MVC applications using.net Framework 4.5

More information

micawber Documentation

micawber Documentation micawber Documentation Release 0.3.4 charles leifer Nov 29, 2017 Contents 1 examples 3 2 integration with web frameworks 5 2.1 Installation................................................ 5 2.2 Getting

More information

Bitnami MySQL for Huawei Enterprise Cloud

Bitnami MySQL for Huawei Enterprise Cloud Bitnami MySQL for Huawei Enterprise Cloud Description MySQL is a fast, reliable, scalable, and easy to use open-source relational database system. MySQL Server is intended for mission-critical, heavy-load

More information

Tutorial 4 Data Persistence in Java

Tutorial 4 Data Persistence in Java TCSS 360: Software Development Institute of Technology and Quality Assurance Techniques University of Washington Tacoma Winter 2017 http://faculty.washington.edu/wlloyd/courses/tcss360 Tutorial 4 Data

More information

How to develop with infandango Documentation

How to develop with infandango Documentation How to develop with infandango Documentation Release Mike Hull April 27, 2016 Contents 1 Overview 1 2 Contents 3 2.1 Overview................................................. 3 2.2 Using Infandango............................................

More information

SOA Software API Gateway Appliance 6.3 Administration Guide

SOA Software API Gateway Appliance 6.3 Administration Guide SOA Software API Gateway Appliance 6.3 Administration Guide Trademarks SOA Software and the SOA Software logo are either trademarks or registered trademarks of SOA Software, Inc. Other product names, logos,

More information

Webthority can provide single sign-on to web applications using one of the following authentication methods:

Webthority can provide single sign-on to web applications using one of the following authentication methods: Webthority HOW TO Configure Web Single Sign-On Webthority can provide single sign-on to web applications using one of the following authentication methods: HTTP authentication (for example Kerberos, NTLM,

More information

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Gerrit

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Gerrit Gerrit About the Tutorial Gerrit is a web-based code review tool, which is integrated with Git and built on top of Git version control system (helps developers to work together and maintain the history

More information

Introduction to Express.js. CSC309 Feb. 6, 2015 Surya Nallu

Introduction to Express.js. CSC309 Feb. 6, 2015 Surya Nallu Introduction to Express.js CSC309 Feb. 6, 2015 Surya Nallu What is Express.js? Web application framework for Node.js Light-weight and minimalist Provides boilerplate structure & organization for your web-apps

More information

A2Billing Flask API Documentation

A2Billing Flask API Documentation A2Billing Flask API Documentation Release 1.0 Areski Belaid Mar 14, 2017 Contents 1 Overview 3 1.1 Installation................................................ 3 1.2 Requirements...............................................

More information

CS-580K/480K Advanced Topics in Cloud Computing. Container III

CS-580K/480K Advanced Topics in Cloud Computing. Container III CS-580/480 Advanced Topics in Cloud Computing Container III 1 Docker Container https://www.docker.com/ Docker is a platform for developers and sysadmins to develop, deploy, and run applications with containers.

More information

Server-side Development using Python and SQL

Server-side Development using Python and SQL Lab 2 Server-side Development using Python and SQL Spring 2018 TDDD97 Web Programming http://www.ida.liu.se/~tddd97/ Department of Computer and Information Science (IDA) Linköping University Sweden 1 2

More information

Preparing Your Google Cloud VM for W4705

Preparing Your Google Cloud VM for W4705 Preparing Your Google Cloud VM for W4705 August 27, 2017 1. Get a cloud.cs.columbia.edu account 1. Sign up for a cloud Columbia CS account using this link. Note that is is an entirely new account and is

More information

Oracle Application Express: Administration 1-2

Oracle Application Express: Administration 1-2 Oracle Application Express: Administration 1-2 The suggested course agenda is displayed in the slide. Each lesson, except the Course Overview, will be followed by practice time. Oracle Application Express:

More information

Load Balancing Nginx Web Servers with OWASP Top 10 WAF in Azure

Load Balancing Nginx Web Servers with OWASP Top 10 WAF in Azure Load Balancing Nginx Web Servers with OWASP Top 10 WAF in Azure Quick Reference Guide v1.0.2 ABOUT THIS GUIDE This document provides a quick reference guide on how to load balance Nginx Web Servers and

More information

Alarm Counter. A Ceilometer OpenStack Application

Alarm Counter. A Ceilometer OpenStack Application Alarm Counter A Ceilometer OpenStack Application Tejas Tovinkere Pattabhi UTD VOLUNTEER AT AWARD SOLUTIONS Summer 2015 Contents Alarm Counter 1 Introduction...2 2 Pre-Requisites...2 2.1 Server Creation...

More information

BLUEPRINT TEAM REPOSITORY. For Requirements Center & Requirements Center Test Definition

BLUEPRINT TEAM REPOSITORY. For Requirements Center & Requirements Center Test Definition BLUEPRINT TEAM REPOSITORY Installation Guide for Windows For Requirements Center & Requirements Center Test Definition Table Of Contents Contents Table of Contents Getting Started... 3 About the Blueprint

More information

Salt Administration II Training Syllabus

Salt Administration II Training Syllabus Salt Administration II Training Syllabus This is the second course in the SaltStack Administration training series. It builds on the concepts of the previous course by presenting additional topics above

More information

HOMELESS INDIVIDUALS AND FAMILIES INFORMATION SYSTEM HIFIS 4.0 TECHNICAL ARCHITECTURE AND DEPLOYMENT REFERENCE

HOMELESS INDIVIDUALS AND FAMILIES INFORMATION SYSTEM HIFIS 4.0 TECHNICAL ARCHITECTURE AND DEPLOYMENT REFERENCE HOMELESS INDIVIDUALS AND FAMILIES INFORMATION SYSTEM HIFIS 4.0 TECHNICAL ARCHITECTURE AND DEPLOYMENT REFERENCE HIFIS Development Team May 16, 2014 Contents INTRODUCTION... 2 HIFIS 4 SYSTEM DESIGN... 3

More information

Configuring Apache Knox SSO

Configuring Apache Knox SSO 3 Configuring Apache Knox SSO Date of Publish: 2018-07-15 http://docs.hortonworks.com Contents Setting Up Knox SSO...3 Configuring an Identity Provider (IdP)... 3 Configuring an LDAP/AD Identity Provider

More information

Tomasz Szumlak WFiIS AGH 23/10/2017, Kraków

Tomasz Szumlak WFiIS AGH 23/10/2017, Kraków Python in the Enterprise Django Intro Tomasz Szumlak WFiIS AGH 23/10/2017, Kraków Going beyond Django is a Web framework very popular! It is not the only one, and cannot do wonders There are many others:

More information

PiranaJS installation guide

PiranaJS installation guide PiranaJS installation guide Ron Keizer, January 2015 Introduction PiranaJS is the web-based version of Pirana, a workbench for pharmacometricians aimed at facilitating the use of NONMEM, PsN, R/Xpose,

More information

Certificate Enrollment for the Atlas Platform

Certificate Enrollment for the Atlas Platform Certificate Enrollment for the Atlas Platform Certificate Distribution Challenges Digital certificates can provide a secure second factor for authenticating connections from MAP-wrapped enterprise apps

More information

Django PAM Documentation

Django PAM Documentation Django PAM Documentation Release 1.4.1 Carl J. Nobile Aug 01, 2018 Contents 1 Contents 3 1.1 Installation................................................ 3 1.2 Configuration...............................................

More information

Ansible Tower Quick Setup Guide

Ansible Tower Quick Setup Guide Ansible Tower Quick Setup Guide Release Ansible Tower 2.4.5 Red Hat, Inc. Jun 06, 2017 CONTENTS 1 Quick Start 2 2 Login as a Superuser 3 3 Import a License 4 4 Examine the Tower Dashboard 6 5 The Setup

More information

DCLI User's Guide. Modified on 20 SEP 2018 Data Center Command-Line Interface

DCLI User's Guide. Modified on 20 SEP 2018 Data Center Command-Line Interface Modified on 20 SEP 2018 Data Center Command-Line Interface 2.10.0 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments about

More information

VMware AirWatch Content Gateway for Linux. VMware Workspace ONE UEM 1811 Unified Access Gateway

VMware AirWatch Content Gateway for Linux. VMware Workspace ONE UEM 1811 Unified Access Gateway VMware AirWatch Content Gateway for Linux VMware Workspace ONE UEM 1811 Unified Access Gateway You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/

More information

UDS Enterprise Free & Evaluation Edition. Lab UDS Enterprise + VMware vsphere + RDP/XRDP

UDS Enterprise Free & Evaluation Edition. Lab UDS Enterprise + VMware vsphere + RDP/XRDP UDS Enterprise Free & Evaluation Edition Lab UDS Enterprise + VMware vsphere + RDP/XRDP 1 INDEX Introduction 03 Deployment of UDS Enterprise Free & Evaluation Edition 04 Upload UDS Appliances to VMware

More information

Lab 2 Third Party API Integration, Cloud Deployment & Benchmarking

Lab 2 Third Party API Integration, Cloud Deployment & Benchmarking Lab 2 Third Party API Integration, Cloud Deployment & Benchmarking In lab 1, you have setup the web framework and the crawler. In this lab, you will complete the deployment flow for launching a web application

More information

Silpa Documentation. Release 0.1. Santhosh Thottingal

Silpa Documentation. Release 0.1. Santhosh Thottingal Silpa Documentation Release 0.1 Santhosh Thottingal February 27, 2014 Contents 1 Install Instructions 3 1.1 VirtialEnv Instructions.......................................... 3 2 Silpa-Flask 5 2.1 Writing

More information

DCLI User's Guide. Data Center Command-Line Interface

DCLI User's Guide. Data Center Command-Line Interface Data Center Command-Line Interface 2.10.2 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/ If you have comments about this documentation, submit

More information

Deploying a distributed application with OpenStack

Deploying a distributed application with OpenStack Deploying a distributed application with OpenStack In this lab you will perform three exercises. Each exercise (task) specifies one or more deliverables to produce. Collect all the deliverables in in one

More information

Garment Documentation

Garment Documentation Garment Documentation Release 0.1 Evan Borgstrom March 25, 2014 Contents i ii A collection of fabric tasks that roll up into a single deploy function. The whole process is coordinated through a single

More information

Web Attacks Lab. 35 Points Group Lab Due Date: Lesson 16

Web Attacks Lab. 35 Points Group Lab Due Date: Lesson 16 CS482 SQL and XSS Attack Lab AY172 1 Web Attacks Lab 35 Points Group Lab Due Date: Lesson 16 Derived from c 2006-2014 Wenliang Du, Syracuse University. Do not redistribute with explicit consent from MAJ

More information

Bitnami MariaDB for Huawei Enterprise Cloud

Bitnami MariaDB for Huawei Enterprise Cloud Bitnami MariaDB for Huawei Enterprise Cloud First steps with the Bitnami MariaDB Stack Welcome to your new Bitnami application running on Huawei Enterprise Cloud! Here are a few questions (and answers!)

More information