-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Parse init #4960
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
Parse init #4960
Conversation
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.
will look at again, and think about your question (i.e. what do you think). Off the cuff, looks pretty cool.
For the docker example, would be good if the example included some way to get cloud/main.js?
Yeah, but getting started with Docker is not the same as getting started with parse-server through npx. This is why this README / onboarding is so confusing. We have zillions of ways to get started. Now the easiest way to get a server started in minutes (given you have node and mongo) is through npx. THe second would be the docker one. Perhaps we should consolidate it all in the docs repo, but we need some good onboarding (if we care about onboarding) :) |
Codecov Report
@@ Coverage Diff @@
## master #4960 +/- ##
==========================================
- Coverage 93.75% 93.68% -0.07%
==========================================
Files 123 123
Lines 8884 8884
==========================================
- Hits 8329 8323 -6
- Misses 555 561 +6
Continue to review full report at Codecov.
|
I took a crack at using docker, but couldn't find a good solution for the cloud code, so I quickly ditched using Docker for deploying parse. There may well have been an easy, elegant solution, but I didn't come up with it or find it in the docs. I have a "start" script in my package.json that is this simple: So, either someone should figure out how we would use docker and cloud code and document that, or we should remove it from the docs. I care about onboarding, and obviously, you do too. |
Yeah, for docker actually, I would do a |
- This way running `npx @parse/init` will generate appId/masterKey
It’s still a WIP. Let’s think about how we can make something cool for v4.0 |
Are there any frameworks you're looking for inspiration from in order to guide a default folding structure for parse server apps.. Ie generated on init? |
Nothing in particular, but it’s inspired by many things out there. Trying to balance out the necessity of external dependencies, and ease of use, correctness and flexibility in the confits so they can evolve with your project etc... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Thanks for opening this pull request!
|
A potential solution for our getting started problems...
Letting anyone create a server with
npx @parse/init
.Potentially then we could add
npx @parse/init --dashboard
What do you guys think?
The goal is to promote best practices as well as properly configuring the server.