Improve setup script

This commit is contained in:
Elias Schneider
2022-05-12 16:25:34 +02:00
parent b9db99e09b
commit d4da3cae30
2 changed files with 7 additions and 6 deletions

View File

@@ -12,12 +12,12 @@ export default () => {
vars: {
APPWRITE_FUNCTION_ENDPOINT: host,
APPWRITE_FUNCTION_API_KEY: process.env["APPWRITE_FUNCTION_API_KEY"],
SMTP_HOST: "",
SMTP_PORT: "",
SMTP_USER: "",
SMTP_PASSWORD: "",
SMTP_FROM: "",
FRONTEND_URL: "",
SMTP_HOST: "-",
SMTP_PORT: "-",
SMTP_USER: "-",
SMTP_PASSWORD: "-",
SMTP_FROM: "-",
FRONTEND_URL: "-",
},
events: [],
schedule: "",

View File

@@ -3,6 +3,7 @@ import rl from "readline-sync";
import cookie from "cookie";
const getToken = async () => {
console.info("Please enter your Appwrite credentials \n");
var email = rl.question("Email: ");
var password = rl.question("Password: ", {
hideEchoBack: true,