Friday, March 31, 2017

Getting started with GAE - Python on codenvy.io - Part 2

Continuing my earlier post here...


We had reached to a default application being created by codenvy as template to get started.
I will try to shade some light on this default application also share a backup of the source code for JUST IN CASE situations here.

Attached source code


Your workspace allows you to have multiple projects in it; we here are now looking at a sample that covers basics of app engine in one example.

During my learning curve all this application has was divided into seven steps now world being fast I believe this one shall suffice.

Running the application:
Your application is already coded ready to run with codenvy just click on source folder and press play you application shall start. There will be url at bottom shown in logs click on it to view your output.

DASHBOARD VIEW
 OUTPUT AFTER CLICKING ON LINK

List of concepts to look for to understand about source code:
  • Checkout app.yaml
    This file gives you entire configuration of your app including directory structure and URL mapping
  • Open and study guestbook.py
    This is your core logic study it thoroughly like an OOP case study (bottom up). All routing and business logic is mentioned. Study libraries needed to include
  • Concepts covered
    URL Pattern to Class mapping
    Handling requests
    Classes / Libraries in order for reference : Jinja, webapp2, ndb, and Users
  • Google plus social sign in and verification

Thursday, March 30, 2017

Getting started with GAE - Python on codenvy.io - Part 1

Recently I was helping a  fellow developer to get started with online IDE so that I can share my experience of developing with wonderful Google Cloud Eco System. As usual offline setups were complicated for entry level developer to get started so I decided to turn on to my till then favorite c9.io.

Now here's the problem, when will you corporates understand the epidemy of a student or starter level devloper looking for learning. C9.io has now made credit card verification mandatory for new users.

So here I am going forward with my then second now first favorite cloud IDE codenvy.io...


Steps to get started are now shared below.





  1. Sign in using github
  2. Enter details
  3. Dashboard looks like this
  4. Next find your GAE python option in the same page by scrolling
  5. Next enter your project / workspace details to get started
  6. And now you see your workspace starting up for first time with a simple project; which looks like this
  7. Now everything is setup and ready to roll: see you in follow up post

Quick setup Phonegap Development Environment using Docker

INTRO NOTE : Pre-requisite is to have ubuntu 16.04 Following DIGITAL OCEAN tutorial for same...