From 60e49a5593d7a43f2e74564f533388b14b2f7b7b Mon Sep 17 00:00:00 2001 From: Sylvain Date: Tue, 31 Dec 2019 11:21:34 +0100 Subject: [PATCH] fixes in setup script --- doc/docker-compose_readme.md | 2 +- setup/env.example | 6 +++--- setup/setup.sh | 29 ++++++++++++++++++----------- 3 files changed, 22 insertions(+), 15 deletions(-) diff --git a/doc/docker-compose_readme.md b/doc/docker-compose_readme.md index c6b350bcb..a2255e479 100644 --- a/doc/docker-compose_readme.md +++ b/doc/docker-compose_readme.md @@ -47,7 +47,7 @@ This way, Docker and Docker-compose are pre-installed. Choose a datacenter and set your domain name as the hostname. With other providers, choose a [supported operating system](../README.md#software-stack) and install docker on it: -- [Debian](https://docs.docker.com/engine/installation/linux/docker-ce/debian/) +- [Debian](https://docs.docker.com/engine/installation/linux/docker-ce/debian/) - [Ubuntu](https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/) Then install [Docker Compose](https://docs.docker.com/compose/install/) diff --git a/setup/env.example b/setup/env.example index 858c8233f..7325c25a5 100644 --- a/setup/env.example +++ b/setup/env.example @@ -80,8 +80,8 @@ ALLOWED_EXTENSIONS=pdf ai eps cad math svg stl dxf dwg obj step iges igs 3dm 3dm ALLOWED_MIME_TYPES=application/pdf application/postscript application/illustrator image/x-eps image/svg+xml application/sla application/dxf application/acad application/dwg application/octet-stream application/step application/iges model/iges x-world/x-3dmf application/ application/vnd.openxmlformats-officedocument.wordprocessingml.document image/png text/x-arduino text/plain application/scad application/vnd.sketchup.skp application/x-koan application/vnd-koan koan/x-skm application/vnd.koan application/x-tex application/x-latex application/x-extension-fcstd # 5242880 = 5 megabytes -MAX_IMPORT_SIZE = '5242880' +MAX_IMPORT_SIZE='5242880' # 10485760 = 10 megabytes -MAX_IMAGE_SIZE=10485760 +MAX_IMAGE_SIZE='10485760' # 20971520 = 20 megabytes -MAX_CAO_SIZE = '20971520' +MAX_CAO_SIZE='20971520' diff --git a/setup/setup.sh b/setup/setup.sh index b28b592b2..f9f6a05b7 100644 --- a/setup/setup.sh +++ b/setup/setup.sh @@ -8,13 +8,13 @@ welcome_message() echo -e "\e[31m Fab-Manager's setup\e[0m" echo "============================================" echo "Thank you for installing Fab-Manager." - printf "This script will guide you through the installation process of Fab-Manager\n" + printf "This script will guide you through the installation process of Fab-Manager\n\n" echo -e "Please report any \e[1mfeedback or improvement request\e[21m on https://feedback.fab-manager.com/" echo -e "For \e[1mbug reports\e[21m, please open a new issue on https://github.com/sleede/fab-manager/issues" echo -e "You can call for \e[1mcommunity assistance\e[21m on https://forum.fab-manager.com/" printf "\nYou can interrupt this installation at any time by pressing Ctrl+C\n" - echo -e "If you do not feel confortable with this installation, you can \e[4msubscribe to our hosting plan\e[24m: contact@fab-manager.com" - read -rp "\n\nContinue? (Y/n) " confirm " EMAIL " EMAIL ' domain " value " password " confirmation