Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: improved installation on MacOs
MikeWallaceDev1cb8dbcfa4b8
diff --git a/frontend/Brewfile b/frontend/Brewfiledeleted file mode 100644index 470312025d..0000000000--- a/frontend/Brewfile+++ /dev/null@@ -1,2 +0,0 @@-brew 'sqlite3'-brew 'rustup-init'diff --git a/frontend/Makefile b/frontend/Makefiledeleted file mode 100644index c393bec0e0..0000000000--- a/frontend/Makefile+++ /dev/null@@ -1,14 +0,0 @@-.PHONY: flowy_dev_install flowy_clean--flowy_dev_install:- brew bundle- rustup-init -y --default-toolchain=stable- cargo install --force cargo-make- cargo install --force duckscript_cli- cargo make flowy_dev---flowy_clean:- sh ./scripts/clean.sh--diff --git a/frontend/scripts/install_dev_env/install_linux.sh b/frontend/scripts/install_dev_env/install_linux.shindex 1d8e7f810d..0446655c02 100755--- a/frontend/scripts/install_dev_env/install_linux.sh+++ b/frontend/scripts/install_dev_env/install_linux.sh@@ -1,13 +1,16 @@#!/bin/bashBLUE="\e[34m"-GREEN="\e[32m"+RED="\e[31m"ENDCOLOR="\e[0m"+# Note: This script does not install applications which are installed by the package manager. There are too many package managers out there.# Install rust on Linux-read -p 'Do you want to install Rust? [y/N] ' installrust+echo -e "${BLUE}AppFlowy : The Rust programming language is required to compile AppFlowy.${ENDCOLOR}"+echo -e "${BLUE}AppFlowy : We can install it now if you don't already have it on your system.${ENDCOLOR}"+read -p "${BLUE}AppFlowy : Do you want to install Rust? [y/N]${ENDCOLOR} " installrustif [ ${installrust^^} == "Y" ]; thenecho -e "${BLUE}AppFlowy : Installing Rust.${ENDCOLOR}"@@ -48,3 +51,6 @@ cargo install --force duckscript_cliecho -e "${BLUE}AppFlowy : Installing CommitLint.${ENDCOLOR}"npm install @commitlint/cli @commitlint/config-conventional --save-dev+# Check prerequisites+echo -e "${BLUE}AppFlowy : Checking prerequisites.${ENDCOLOR}"+cargo make flowy_devdiff --git a/frontend/scripts/install_dev_env/install_macos.sh b/frontend/scripts/install_dev_env/install_macos.shnew file mode 100755index 0000000000..a4f325094e--- /dev/null+++ b/frontend/scripts/install_dev_env/install_macos.sh@@ -0,0 +1,56 @@+#!/bin/bash++BLUE="\e[34m"+RED="\e[31m"+ENDCOLOR="\e[0m"++# Install rust on Linux+echo -e "${BLUE}AppFlowy : The Rust programming language is required to compile AppFlowy.${ENDCOLOR}"+echo -e "${BLUE}AppFlowy : We can install it now if you don't already have it on your system.${ENDCOLOR}"++read -p "${BLUE}AppFlowy : Do you want to install Rust? [y/N]${ENDCOLOR} " installrust++if [ ${installrust^^} == "Y" ]; then+ echo -e "${BLUE}AppFlowy : Installing Rust.${ENDCOLOR}"+ brew 'rustup-init'+ rustup-init -y --default-toolchain=stable+else+ echo -e "${BLUE}AppFlowy : Skipping Rust installation.${ENDCOLOR}"+fi++# Install sqllite+echo -e "${BLUE}AppFlowy : Installing SqlLite3.${ENDCOLOR}"+brew 'sqlite3'++# Enable the flutter stable channel+echo -e "${BLUE}AppFlowy : Checking Flutter installation.${ENDCOLOR}"+flutter channel stable++# Enable linux desktop+flutter config --enable-linux-desktop++# Fix any problems reported by flutter doctor+flutter doctor++# Add the githooks directory to your git configuration+echo -e "${BLUE}AppFlowy : Setting up githooks.${ENDCOLOR}"+git config core.hooksPath .githooks++# Change to the frontend directory+cd frontend++# Install cargo make+echo -e "${BLUE}AppFlowy : Installing cargo-make.${ENDCOLOR}"+cargo install --force cargo-make++# Install duckscript+echo -e "${BLUE}AppFlowy : Installing duckscript.${ENDCOLOR}"+cargo install --force duckscript_cli++# Install CommitLint+echo -e "${BLUE}AppFlowy : Installing CommitLint.${ENDCOLOR}"+npm install @commitlint/cli @commitlint/config-conventional --save-dev++# Check prerequisites+echo -e "${BLUE}AppFlowy : Checking prerequisites.${ENDCOLOR}"+cargo make flowy_dev