mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-17 12:43:13 +02:00
Improve setup
This commit is contained in:
@@ -6,4 +6,4 @@ PUBLIC_APPWRITE_HOST=http://localhost/v1
|
|||||||
PUBLIC_MAX_FILE_SIZE=300000000 # Note: Should be the same as in the _APP_STORAGE_LIMIT in the Appwrite .env file
|
PUBLIC_MAX_FILE_SIZE=300000000 # Note: Should be the same as in the _APP_STORAGE_LIMIT in the Appwrite .env file
|
||||||
PUBLIC_DISABLE_REGISTRATION=true # Note: In the Appwrite console you have to change your user limit to 0 if false and else to 1
|
PUBLIC_DISABLE_REGISTRATION=true # Note: In the Appwrite console you have to change your user limit to 0 if false and else to 1
|
||||||
PUBLIC_DISABLE_HOME_PAGE=false
|
PUBLIC_DISABLE_HOME_PAGE=false
|
||||||
PUBLIC_MAIL_SHARE_ENABLED=false
|
PUBLIC_MAIL_SHARE_ENABLED=false # Note: If set to true you have to add your SMTP server. See "Additional configurations" in the README file
|
||||||
@@ -3,7 +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");
|
console.info("Please enter your Appwrite credentials");
|
||||||
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