@@ -0,0 +1,306 @@
+#!/usr/bin/env python%0A%0Aimport datetime%0A%0Afrom alerta.app.database import Mongo%0A%0Adata = %7B%0A    %22user%22: %22test user%22,%0A    %22key%22: %22demo-key%22,%0A    %22text%22: %22demo key%22,%0A    %22expireTime%22: datetime.datetime.utcnow() + datetime.timedelta(365),%0A    %22count%22: 0,%0A    %22lastUsedTime%22: None%0A%7D%0A%0AMongo().db.keys.insert(data)%0A%0A

add script to create demo key