parse-community / docs

Parse Platform docs
https://docs.parseplatform.org
Other
313 stars 517 forks source link

📙 Explanation would be appreciated #837

Closed http600 closed 3 years ago

http600 commented 3 years ago

Link to section: Doc here

What is the issue?

anyone kindly tell me what is going on here for each following command? what is the consequence are there? do I need to run them under root or sudo or just normal user myself?

$ sh <(curl -fsSL https://raw.githubusercontent.com/parse-community/parse-server/master/bootstrap.sh)
$ npm install -g mongodb-runner
$ mongodb-runner start
$ npm start

Can you propose a solution?

explanation for each one of the command would be appreciated very much, because I have so much error log on console, if I know what is going on, what does it want, them maybe I can find alternative solution for error

mtrezza commented 3 years ago

The code block installs Parse Server locally together with MongoDB as a database and then starts Parse Server. The sh command launches a convenience script that does a number of steps for you, so you don't have to them manually. You can look into the script for what it exactly does.

These are very basic commands, not specific to Parse Server. If you need more details about what the commands do you could look into the docs of sh, npm and mongodb-runner.

Generally, Parse Server docs do not cover details that are unspecific to Parse Server. I'm closing this as it does not seem to be an issue with the docs.

For help with Parse Server, here are some resources you can try:

Feel free to comment if you have any questions and we can re-open this issue.

http600 commented 3 years ago

I found the problem, for Ubuntu 20.04 LTS, sh failed to execute some of bootstrap.sh, I managed to run it without error info by bash ...../bootstrap.sh

http600 commented 3 years ago

for those explanation, appreciate it very much, so I know I have no need to install MongoDB again since I already have

mtrezza commented 3 years ago

Did it fail with zsh, but worked with bash?