Skip to Content
Cloud Native Python
book

Cloud Native Python

by Manish Sethi
July 2017
Intermediate to advanced
374 pages
8h
English
Packt Publishing
Content preview from Cloud Native Python

Getting started with applications

Let's get started with creating a basic HTML template. Create a directory named template in your app root location; we will create all our future templates inside this directory.

Now, let's create the basic skeleton for the adduser.html file as follows:

    <!DOCTYPE html> 
    <html> 
      <head> 
        <title>Tweet Application</title> 
      </head> 
      <body> 
        <div class="navbar"> 
         <div class="navbar-inner"> 
           <a class="brand" href="#">Tweet App Demo</a> 
         </div> 
        </div> 
       <div id="main" class="container"> 
 
         Main content here! 
 
       </div> 
      <meta name="viewport" content="width=device-width, initial-       scale=1.0"> 
      <link href="http://netdna.bootstrapcdn.com/twitter-       bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet"> <script src="http://ajax.aspnetcdn.com/ajax/jquery/jquery- ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python for DevOps

Python for DevOps

Noah Gift, Kennedy Behrman, Alfredo Deza, Grig Gheorghiu
Cloud Native

Cloud Native

Boris Scholl, Trent Swanson, Peter Jausovec

Publisher Resources

ISBN: 9781787129313Supplemental Content