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:
parent
b9db99e09b
commit
d4da3cae30
2 changed files with 7 additions and 6 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Reference in a new issue