Code Monkey home page Code Monkey logo

Comments (8)

mtrezza avatar mtrezza commented on September 25, 2024 1

Transferring to docs, since this seems to be a docs issue, not a product issue.

from docs.

mtrezza avatar mtrezza commented on September 25, 2024 1

Great, it's best to discuss docs changes here, since it has more visibility and allows for collaboration. This issue is just to clarify the installation installations in the docs. If your changes are broader, then I suggest opening a separate issue.

from docs.

MrMartinR avatar MrMartinR commented on September 25, 2024 1

I did refactor the AWS guide, I decided to install Parse Dashboard Globally and Parse-Server locally but without using the Bootstrap script, after checking the bootstrap I think is not worth to use it in the AWS deployment, only generates a couple of extra files...
also I fix the block codes from js to json

from docs.

parse-github-assistant avatar parse-github-assistant commented on September 25, 2024

Thanks for opening this issue!

  • πŸŽ‰ We are excited about your ideas for improvement!

from docs.

mtrezza avatar mtrezza commented on September 25, 2024

I think I mess up my installation because I did install parse-server from npm and also I did run the bootstrap file, and I think I have 2 parse servers,

Where did you see an instruction to execute both?

Looking at the Parse Server README I see only this:

$ npm install -g parse-server mongodb-runner
$ mongodb-runner start
$ parse-server --appId APPLICATION_ID --masterKey MASTER_KEY --databaseURI mongodb://localhost/test

from docs.

MrMartinR avatar MrMartinR commented on September 25, 2024

I haven't see both in the same place, I saw the npm version in the README and the Bootstrap version in the Docs Getting Started Section.
Use the bootstrap script to set up Parse Server in the current directory.

I assumed? that maybe the npm was some library that parse-server needed and the "official" parse server installation was the Bootstrap version that maybe also installed the npm... πŸ€·β€β™‚οΈ
Or maybe I thought that the npm was 'the one' and the Bootstrap was the parse-server I need to clone/fork to contribute to the project πŸ€·β€β™‚οΈ I just installed bothπŸ€¦β€β™‚οΈ

To be honest, no idea what is the difference, are they the same?

from docs.

mtrezza avatar mtrezza commented on September 25, 2024

The bootstrap script installs parse server - and more. You can take a look at the script to see whether it's useful for you. The npm i -g parse-server installs parse server globally, which makes it accessible from anywhere in the CLI but may make it more difficult for Parse Server development when switching between versions of Parse Server frequently.

What is right for you depends on what you want to do. Either guide works, but with different implications.

I agree that this may seem confusing for new developers who are just getting started with Node.js development. A proper guide should consolidate and offer both approaches to set up Parse Server and explain the differences. But it doesn't make any sense to duplicate that information in the README and the docs. The README should be stripped of all docs-like content and that content should move into the docs.

If you want to look more into this, see the npm docs link I posted above and study the bootstrap script to see what it does. It may be a bit of work, but the learning and insight should be worth it. And maybe you want to open a PR afterwards to improve the docs in that regard.

from docs.

MrMartinR avatar MrMartinR commented on September 25, 2024

I agree 100% that the README (and the wiki) should not contain any doc related stuff... I am gonna try to dig into those 2 options and edit the AWS Deployment Guide (it states to do both installs)...
probably more questions will pop in my head, should I come back here? or use Slack??

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.