Skip to content
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

Closed
wants to merge 7 commits into from
Closed

Parse init #4960

wants to merge 7 commits into from

Conversation

flovilmart
Copy link
Contributor

@flovilmart flovilmart commented Aug 12, 2018

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.

Copy link
Contributor

@acinader acinader left a 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?

@flovilmart
Copy link
Contributor Author

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) :)

@flovilmart flovilmart closed this Aug 13, 2018
@flovilmart flovilmart reopened this Aug 13, 2018
@codecov
Copy link

codecov bot commented Aug 13, 2018

Codecov Report

Merging #4960 into master will decrease coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@            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
Impacted Files Coverage Δ
src/Adapters/Storage/Mongo/MongoStorageAdapter.js 91.52% <0%> (-0.73%) ⬇️
src/RestWrite.js 92.77% <0%> (-0.38%) ⬇️
...dapters/Storage/Postgres/PostgresStorageAdapter.js 97.08% <0%> (-0.09%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8dff708...54cd081. Read the comment docs.

@acinader
Copy link
Contributor

acinader commented Aug 13, 2018

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: "start": "parse-server ./config.json",

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.

@flovilmart
Copy link
Contributor Author

Yeah, for docker actually, I would do a —docker options that creates a base docker file, and still is configured through env variables :)

README.md Show resolved Hide resolved
@flovilmart
Copy link
Contributor Author

It’s still a WIP. Let’s think about how we can make something cool for v4.0

@omairvaiyani
Copy link
Contributor

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?

@flovilmart
Copy link
Contributor Author

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...

@stale
Copy link

stale bot commented Dec 2, 2018

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.

@stale stale bot added the wontfix label Dec 2, 2018
@stale stale bot closed this Dec 9, 2018
@mtrezza mtrezza reopened this Oct 18, 2021
@parse-github-assistant
Copy link

Thanks for opening this pull request!

  • ❌ Please edit your post and use the provided template when creating a new pull request. This helps everyone to understand your post better and asks for essential information to quicker review the pull request.

@mtrezza mtrezza linked an issue Oct 24, 2021 that may be closed by this pull request
3 tasks
@flovilmart flovilmart closed this Jan 22, 2022
@mtrezza mtrezza deleted the parse-init branch February 9, 2022 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make it easier to set up Parse Server
4 participants