0
Fork 0
mirror of https://github.com/stonith404/pingvin-share.git synced 2025-01-29 01:28:59 -05:00

Improve setup script

This commit is contained in:
Elias Schneider 2022-05-12 16:25:34 +02:00
parent b9db99e09b
commit d4da3cae30
No known key found for this signature in database
GPG key ID: D5EC1C72D93244FD
2 changed files with 7 additions and 6 deletions

View file

@ -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: "",

View file

@ -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,