Skip to content

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.

fix conflicts

ljshwyykl3648a4205474
diff --cc .gitignore
index 83ee267a22,8bd15663df..a6c235ffa0
--- a/.gitignore
+++ b/.gitignore
@@@ -1,16 -1,7 +1,13 @@@
# Generated by Cargo
# will have compiled files and executables
- /target/
-
+# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
+# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
+# backend
/target/
+./backend/.env
+./backend/configuration/base.yaml
+Cargo.lock
-
# These are backup files generated by rustfmt
**/*.rs.bk
**/target/
diff --cc doc/BUILD_ON_LINUX.md
index 4413f932aa,d95828aedb..98e0b20447
--- a/doc/BUILD_ON_LINUX.md
+++ b/doc/BUILD_ON_LINUX.md
@@@ -51,13 -43,11 +51,11 @@@ export PATH="$PATH:`pwd`/bin
flutter channel dev
flutter config --enable-linux-desktop
```
-4. Fix problem reported by flutter doctor
+5. Fix problem reported by flutter doctor
```shell
flutter doctor
- # install Android toolchain (optional)
- # install Chrome (optional)
```
-5. Install cargo make
+6. Install cargo make
```shell
cd appflowy/frontend
cargo install --force cargo-make
@@@ -70,11 -60,11 +68,13 @@@ cargo install --force duckscript_cl
```shell
cargo make flowy_dev
```
- 9. Generate protobuf for dart (optional, if you modify the shared-lib's entities)
-8. [Optional] Generate protobuf for dart (optional, if you modify the shared-lib's entities)
++
++9. [Optional] Generate protobuf for dart (optional, if you modify the shared-lib's entities)
```shell
cargo make -p development-linux-x86 pb
```
- 10. Build flowy-sdk-dev (dart-ffi) (optional), step 10 covers this step
-9. [Optional] Build flowy-sdk-dev (dart-ffi), step 10 covers this step
++10. [Optional] Build flowy-sdk-dev (dart-ffi), step 10 covers this step
++
```shell
# for development
cargo make --profile development-linux-x86 flowy-sdk-dev
@@@ -82,7 -72,7 +82,8 @@@
# for production
cargo make --profile production-linux-x86 flowy-sdk-release
```
-10. Build app_flowy
++
+11. Build app_flowy
```shell
# for development
cargo make -p development-linux-x86 appflowy-linux-dev