-
Notifications
You must be signed in to change notification settings - Fork 226
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
Update CONTRIBUTING with quickstart instructions #855
Conversation
These quickstart instructions would have helped me out a lot when I was getting started with Fauxton. Think of it as a "TL;DR, I just want to start contributing now." 😃
One remaining issue, though, is apparently you can't disable Content-Security-Policy in dev without changing |
npm install | ||
``` | ||
|
||
Next, copy `settings.json.default.json` to `settings.json`. This will be our local settings file. |
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.
It will automatically read settings.json.default.json
so you only need a settings.json
if you have custom code.
/* ... */ | ||
"app": { | ||
/* ... */ | ||
"host": "http://localhost:5984" |
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.
Weird. I thought it would default to this port. Is that not the case?
I thought I should specify, because some folks may have CouchDB 1.x already running on 5984, in which case they’d need to run PouchDB Server on something else. This was the case for me, for instance.
… On Feb 19, 2017, at 11:08 AM, garren smith ***@***.***> wrote:
@garrensmith requested changes on this pull request.
In CONTRIBUTING.md <#855 (comment)>:
> +```
+git clone https://github.com/apache/couchdb-fauxton
+cd couchdb-fauxton
+npm install
+```
+
+Next, copy `settings.json.default.json` to `settings.json`. This will be our local settings file.
+
+In the `settings.json`, under `"development"` -> `"app"`, change the `"host"` to point to your local CouchDB or PouchDB Server, e.g.:
+
+```js
+"development": {
+ /* ... */
+ "app": {
+ /* ... */
+ "host": "http://localhost:5984"
Weird. I thought it would default to this port. Is that not the case?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#855 (review)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AARUwjngrJkkfFukcYWH-X_UkoLYwPTOks5reJM_gaJpZM4MFRrV>.
|
+1 thanks. I've merged it. |
These quickstart instructions would have helped me out a lot when I was getting started with Fauxton. Think of it as a "TL;DR, I just want to start contributing now." 😃