-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add developer guide on Arch Linux #310
Add developer guide on Arch Linux #310
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
few comments here
.env
Outdated
MEGA_DB_MYSQL_URL = "mysql://${MYSQL_USERNAME}:${MYSQL_SECRET}@${MYSQL_HOST}/mega" | ||
|
||
# If you followed the installation guide, you can use below URL directly, comment it the otherwise. | ||
MEGA_DB_POSTGRESQL_URL = "postgres://mega:[email protected]/mega" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to display the username and password in plain text? I recommend configuring them in production as environment variables, while using plaintext for local development
.env
Outdated
|
||
MEGA_OBJ_REMOTE_REGION = "cn-east-3" # Remote cloud storage region | ||
MEGA_OBJ_REMOTE_ENDPOINT = "https://obs.cn-east-3.myhuaweicloud.com" # Override the endpoint URL used for remote storage services | ||
#MEGA_OBJ_REMOTE_REGION = "cn-east-3" # Remote cloud storage region |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 19-20 should not be commented
.env
Outdated
|
||
MEGA_OBJ_LOCAL_PATH = "/tmp/.mega" # This configuration is used to set the local path of the project storage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The newest default config of MEGA_OBJ_LOCAL_PATH should be "/tmp/.mega/objects"
.env
Outdated
GIT_INTERNAL_DECODE_STORAGE_BATCH_SIZE = 10000 # The maximum number of git object in a "INSERT" SQL database operation | ||
GIT_INTERNAL_DECODE_STORAGE_TQUEUE_SIZE = 10 # The maximum number of parallel insertion threads in the database operation queue | ||
GIT_INTERNAL_DECODE_CACHE_TYEP = "lru" #{lru,redis} | ||
GIT_INTERNAL_DECODE_CACHE_SIZE = 100 # Maximum number of git objects in LRU cache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not recommend to change the default Objects decode configuration
Head branch was pushed to by a user without write access
Hi @TimePrinciple, It seems commit 6d1fab0 was not signed, you may need to resubmit it |
Modified `.env` to dictate users to set up `DB` related fields properly according to their actual setup. Signed-off-by: Ruoqing He <[email protected]>
Head branch was pushed to by a user without write access
5868adc
to
e8d9230
Compare
022c82e
Modified
.env
file to better describe the database URL configuration process.