NoCommandLine Logo
NoCommandLine

Blog

Blog

  • Where Can I Host my Web App/Website for Free or Peanuts?
    December 23, 2024 09:38 PM
      Introduction If you're a newbie to building web apps or websites and are looking for where to host it for free or an extreme...
    Tags: GAE, CloudRun
  • Testing Your Google App Engine App Locally: Ditch Service Account Keys
    February 28, 2024 03:40 AM
    Google App Engine (GAE) offers bundled services to various Google Cloud services and API endpoints such as Datastore, NDB, Users, Memcache, Search, Im...
    Tags: GAE, GAE Bundled Services, GAE Bundled APIs
  • Deleting Logs from Google Cloud
    November 03, 2023 08:16 PM
    If for some reason, you wish to immediately delete your application logs from Google Cloud instead of waiting for it to be cleared after the standard ...
    Tags:
  • Building a Responsive D3.js Chart
    August 27, 2023 08:22 PM
    There are at least two ways to build a responsive SVG chart using D3.js. Putting the chart within a container and setting the viewBox and preser...
    Tags:
  • Use Google App Engine Bundled Services with FastAPI: Include Flask/Django on a FastAPI App
    July 16, 2023 10:45 PM
    Given that FastAPI is an ASGI server while Google App Engine (GAE) bundled services are built for WSGI servers, can you use GAE bundled servicess on F...
    Tags: FastAPI, GAE, GAE Bundled Services, GAE Bundled APIs
  • Programmatically Make your Cloud Run Service Public: Using Cloud Run Node.js Client Library
    June 27, 2023 04:41 AM
    Cloud Run services which are created programmatically (via code) are created as private. A private service can only be accessed by authenticated users...
    Tags: cloudrun, nodejs
  • How to Block Bots/Spam Visits to your GAE App
    May 07, 2023 02:53 AM
    Introduction: When you deploy an App/Website to Google App Engine, you'll start receiving traffic from bots and automated scripts in no time at a...
    Tags: Google App Engine
  • Using Data from Local Datastore Emulator with Cloud Datastore Emulator: Share local datastore data created on a Python 2.7 App with your Python 3 App
    March 30, 2023 02:54 AM
    When you run a Python 2 App using dev_appserver.py, your data is stored in an sqlite3 database (in a file named datastore.db). This data is created an...
    Tags: GAE Python 2 to Python 3 Migration
  • Run a Google App Engine App which Uses Django & Cloud Tasks Locally: Use dev_appserver.py to run a Django + Cloud Task on GAE
    February 12, 2023 05:41 PM
    Running your App locally with dev_appserver.py allows you use GAE's Bundled APIs. Not only does using the Bundled APIs mean you write less code, it ...
    Tags: Python, GAE, Django
  • JSON.stringify(), Replacer Parameter, Buffer and Uint8Array
    January 29, 2023 11:09 PM
    JSON data is an object (it has attribute-value pairs or a key & a corresponding value). It's used to store and pass around data objects and it's langu...
    Tags:
  • How Many Records are in my Datastore?
    December 03, 2022 08:29 PM
    If you use Google's Datastore (Firestore in Datastore Mode) and have ever wanted to know how many records were in a Kind (Model), you'd most probably ...
    Tags: Python, Datastore, Google App Engine
  • How to Run Python 3 Apps with dev_appserver.py on Windows
    November 12, 2022 04:25 PM
    According to Google's documentation The dev_appserver tool does not support development of Python 3 apps on Windows. It's most likely becaus...
    Tags: gcloud SDK, gcloud CLI, dev appserver.py, Windows, Python 3
  • How to Install Multiple Versions of gcloud SDK/CLI on the Same Machine
    November 11, 2022 03:29 PM
    If you already have gcloud SDK/CLI installed on your machine but you need to install a different version while maintaining your current version, then ...
    Tags: gcloud SDK, gcloud CLI, Google App Engine
  • BadValueError(invalid cursor)
    June 19, 2022 10:48 PM
    Google Cloud NDB Documentation encourages using cursors to page through ndb records when you have a lot of records. Their documentation has the foll...
    Tags:
  • Build & Host a Blogging Platform on Google App Engine (Part 6): View Post Page
    May 13, 2022 07:30 PM
    Now that we have a list of all the published posts and a snippet for each post, we will take care of when a user clicks a post to read it. This is ...
    Tags: Python, Flask, Build a Blog
  • Build & Host a Blogging Platform on Google App Engine (Part 5): Blog Home Page
    May 11, 2022 11:33 PM
    A blog's home page usually shows a list of published posts with each post displaying a snippet of the post (contents of the post). We will build the ...
    Tags: Python, Flask, Build a Blog
  • Build & Host a Blogging Platform on Google App Engine (Part 4): Create/Edit Post UI
    May 10, 2022 07:38 PM
    This is Part 4 of our series on building a blogging platform using Python & Flask which will be hosted on Google App Engine (Standard). Complete...
    Tags: Python, Flask, Build a Blog
  • Build & Host a Blogging Platform on Google App Engine (Part 3): Administrator Dashboard
    May 10, 2022 04:00 AM
    A blog owner needs a page where they can see all the posts they have created (both draft and published), start a new post, edit an existing post, del...
    Tags: Python, Flask, Build a Blog
  • How to include Release Notes in an Electron App 'Update Available' Notification
    May 08, 2022 06:44 PM
    If you build an Electron App, you'll most likely want users to know when a new version is available. Electron Apps offer automatic 'Update Available' ...
    Tags:
  • How to Avoid a Surprise Bill on a Google App Engine Project : GAE Standard Environment
    April 02, 2022 07:38 PM
    A common worry for businesses especially small/one-person SaaS entities whose App is deployed on Google App Engine (GAE) is getting a spike in t...
    Tags: Python, Billing
  • What's the difference between static_dir and static_files in Google App Engine's app.yaml?
    March 07, 2022 03:41 PM
    app.yaml file tells Google App Engine (GAE) how to route requests received by your website i.e. it allows you to route different URL paths to differen...
    Tags:
  • Build & Host a Blogging Platform on Google App Engine (Part 2): Data Model
    March 06, 2022 11:58 PM
    Before we start building our UI, we need to think about how we intend to store our data, what data we want to store and what are the relationships be...
    Tags: Python, Flask, Build a Blog
  • Build & Host a Blogging Platform on Google App Engine (Part 1): Introduction
    March 05, 2022 08:49 PM
    This very blog post that you're reading, was written on a blogging platform written in Python & Flask and hosted on Google App Engine Standard Envir...
    Tags: Python, Flask, Build a Blog
  • How to use Headless Firefox on Cloud Run: Using Selenium with Cloud Run
    September 08, 2021 03:12 AM
    In a previous article, we explained how to deploy a service to Google's Cloud Run. In another article, we explained how to secure a service deployed...
    Tags: Cloud Run, Docker, Python, Selenium, Headless Firefox
  • How to Secure your Cloud Run Service
    September 06, 2021 05:28 PM
    In a previous article, we explained how to deploy a service to Google's Cloud Run. Cloud Run is good for running APIs or other back-end services and...
    Tags: Cloud Run, Docker, Python
  • How to Sign an Electron App on Mac (with Electron-builder): Step by Step Guide with Pictures
    August 07, 2021 07:20 PM
    Signing your electron app on Mac for a Mac build using electron-builder is actually pretty simple and straightforward Obtain a developer certi...
    Tags: Electron app, Electron-builder, Mac, Code Sign, VueJs
  • Implementing A/B Tests: A very Simplified Implementation in Python with Flask
    August 01, 2021 11:35 PM
    For NoCommandLine, we followed the maxim - launch as soon as possible and then refine. A few months after launching I started wondering if our home ...
    Tags: A/B Test, Python, Flask
  • How to Specify Sender's Name & Reply-to in SendGrid (v3 API Python)
    July 22, 2021 02:20 AM
    SendGrid allows you to programmatically send emails. It is one of the email providers recommended by Google, especially since they started discoura...
    Tags: Python, SendGrid, Email
  • Step by Step Guide to Deploying your App to Google Cloud Run: Targeted at beginners, newbies, or those who want a very simple guide
    July 19, 2021 02:53 AM
    What is Cloud Run? Cloud Run is a serverless infrastructure from Google Cloud. On a serverless platform, the provider (Google) provides all the back...
    Tags: CloudRun, Docker, Python, Hello World
  • Managing Large Apps on Google App Engine: Deploying Services to Sub-domains
    May 28, 2021 05:19 AM
    A general advice when dealing with large applications is to break them into modules where each module represents a logical chunk/slice of the applica...
    Tags: Post Launch, GAE
More Articles

Archive

  • December 2024
  • February 2024
  • November 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • September 2021
  • August 2021
  • July 2021
  • May 2021

Contact Us

  • NoCommandLine
  • ||
  • Contact Us
  • ||
  • Send a tweet