Closed DDzwiedziu closed 2 years ago
Hi, the problem is that you put the binary directly under your home directory. Please move it to somewhere like /usr/local/bin
and run it.
So this is at least a caveat of the documentation.
/user/local/bin
is meant to store user installed binaries. It won't make it more secure if you put binaries in your home directory, as long as you are not running them as root./user/local/bin
, it was just a good practice. You can put it at /home/youruser/wherever/you/want/mango
and it would still work. Just don't put it directly under your home directory.
Describe the bug I was following the guide from https://getmango.app/#/?id=quick-start Mango, when run for the first time, tries to create a directory by default named "mango" (probably here: https://github.com/hkalexling/Mango/blob/8a732804ae05d4480afd0646445acabc6808bdce/src/storage.cr#L38).
To Reproduce Steps to reproduce the behavior:
./mango
,Expected behavior Normal startup should occur.
Environment (please complete the following information):