This is pretty simple, lets dive in!
Find a name that isn't taken and clearly describes what your module is doing
$ npm view your-first-node-module
require("dotenv").config(); | |
module.exports = { | |
mode: "universal", | |
/* | |
** Headers of the page | |
*/ | |
head: { | |
titleTemplate: "", | |
title: "MYbOnline | Customer Portal", |
DEV = os.environ['SERVER_SOFTWARE'].startswith('Dev') | |
APP_ID = os.environ['APPLICATION_ID'] | |
TESTSPACE = 'test.site3.bonlineapp.com' #change this to the namespace to delete | |
def deleteDBandMemcache(): | |
"""Delete all entities in a namespace.""" | |
from google.appengine.api import namespace_manager | |
###################################### | |
namespace_manager.set_namespace(TESTSPACE) | |
###################################### |