AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

[Bug] Need more instructions in documentation for Building in Ubuntu

Open IMPranshu opened this issue 3 years ago • 1 comments

I faced a few issues while building in Ubuntu 20.04. Until 3rd step of the instruction everything went smooth.

Start following the instruction for building from source in Ubuntu 20.04. You might encounter this error in the 3rd step.

image

Well, this is not exactly a bug of the software but just an environmental issue of your local machine.

You might have encountered this warning while following the previous steps

image

Also if you just scroll and inspect exactly why the build is failing and the solution to this as well.

image

So just run the following command in the terminal before following the 3rd step and you are ready to build.

export PATH="$PATH":"$HOME/.pub-cache/bin"

Also while following the 4th step you might encounter this error.

No such file or directory

Just relax it is not an issue you just have to change the version from 0.0.2 to 0.0.4 that you build recently in the following command

cd app_flowy/product/0.0.4/linux/Debug/AppFlowy

If all goes well you can expect to run the AppFlowy that you just built successfully in your local Ubuntu 20.04 machine and get this screen and start working with it.

image

  • OS: Ubuntu 20.04
  • Version- 0.0.4

IMPranshu avatar Aug 22 '22 05:08 IMPranshu

Hi. So I checked the same issue.

The fix will go something like this:

  1. Go to file explorer or Files in Ubuntu.
  2. Now go to the Home tab and enable the button to show all hidden files.
  3. Now you will see all your hidden files.
  4. Now open 2 files, .profile and .bashrc.
  5. Go to the end of these files and paste export PATH="$PATH":"$HOME/.pub-cache/bin" this.
  6. Now save both files
  7. Logout and log in again and build again.
  8. It will build and the app will be running smoothly.

Here is a screenshot running on Ubuntu 22.04.1 LTS image

ChiragKr04 avatar Aug 24 '22 09:08 ChiragKr04