-
Notifications
You must be signed in to change notification settings - Fork 298
Update Getting-Started.md #199
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
Conversation
| #### Setting up the Development Environment | ||
|
|
||
| PureScript's core libraries are configured to use the [Pulp](https://github.com/purescript-contrib/pulp) build tool, and packages are available in the [Bower registry](http://bower.io/search/?q=purescript-). | ||
| PureScript's core libraries are configured to use the [Pulp](https://github.com/purescript-contrib/pulp) build tool, and packages are installed with [psc-package](https://psc-package.readthedocs.io/). You can find the packages curated packages on [Pursuit](https://pursuit.purescript.org/) |
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.
You can find the packages curated packages on [Pursuit (https://pursuit.purescript.org/)
This seems confusing, that it would make people think that all Pursuit packages are in package sets. Also that package sets aren't actually curated, just community contributed.
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.
@jbrownson Please advise what would be a more accurate statement
|
I’m not sure we should position psc-package as the default option, because many packages aren’t available in package sets, and because it’s a relatively uncommon model (whereas people are more likely to have come across something vaguely resembling bower before). |
|
I guess my problem with bower was that I couldn't even install purescript-config and the default prelude for version 0.12.0 without having to manually/randomly pick the package versions |
|
I accept that the UI could be a lot better in that case, but that is it working as expected; there does not appear to be a version of purescript-config which can work alongside version 4.1.0 of the prelude. Therefore switching to psc-package wouldn't help you there: purescript-config most likely wouldn't even make it into any 0.12.x package set at all in its current state. |
|
So there is no way to access env vars right now without downgrading to 0.11.7 |
|
Thanks Is https://purescript-users.ml/t/working-with-0-11-7-in-a-0-12-world/180 still valid or is it out of date at this point? |
|
A lot more of the ecosystem has caught up by this point in comparison to when that was written. I think I’d probably recommend 0.12 unless you have a specific reason to use 0.11.7. |
|
I think switching the getting started guide to use psc-package rather than bower is potentially worth considering but needs more discussion first -- for instance, I'd argue we'd also need to a) explain the differences between the psc-package model vs the more standard centralised package repo + dependency solving approach which bower (and most other package managers take) and b) decide on and commit to a standard way of shipping the |
@hdgarrood I've already done most of this (aside from the dependency solving approach Bower uses) in the related page in my learning repo |
|
@JordanMartinez That page looks good but on reflection I'm not sure it's appropriate to expose all that to someone who is just trying to get something working during their first experience with the language. I'm going to close this PR for now, but feel free to open issues if you want to revive this discussion. |
Updated getting started for psc-package instead of bower
Caused me lots of frustration so hope this makes it easier for others.
Related issue #187