Improve setup script
This commit is contained in:
@@ -12,12 +12,12 @@ export default () => {
|
|||||||
vars: {
|
vars: {
|
||||||
APPWRITE_FUNCTION_ENDPOINT: host,
|
APPWRITE_FUNCTION_ENDPOINT: host,
|
||||||
APPWRITE_FUNCTION_API_KEY: process.env["APPWRITE_FUNCTION_API_KEY"],
|
APPWRITE_FUNCTION_API_KEY: process.env["APPWRITE_FUNCTION_API_KEY"],
|
||||||
SMTP_HOST: "",
|
SMTP_HOST: "-",
|
||||||
SMTP_PORT: "",
|
SMTP_PORT: "-",
|
||||||
SMTP_USER: "",
|
SMTP_USER: "-",
|
||||||
SMTP_PASSWORD: "",
|
SMTP_PASSWORD: "-",
|
||||||
SMTP_FROM: "",
|
SMTP_FROM: "-",
|
||||||
FRONTEND_URL: "",
|
FRONTEND_URL: "-",
|
||||||
},
|
},
|
||||||
events: [],
|
events: [],
|
||||||
schedule: "",
|
schedule: "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import rl from "readline-sync";
|
|||||||
import cookie from "cookie";
|
import cookie from "cookie";
|
||||||
|
|
||||||
const getToken = async () => {
|
const getToken = async () => {
|
||||||
|
console.info("Please enter your Appwrite credentials \n");
|
||||||
var email = rl.question("Email: ");
|
var email = rl.question("Email: ");
|
||||||
var password = rl.question("Password: ", {
|
var password = rl.question("Password: ", {
|
||||||
hideEchoBack: true,
|
hideEchoBack: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user