Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Feature/10 fix readme #11

Merged
merged 5 commits into from
Feb 27, 2017
Merged

Feature/10 fix readme #11

merged 5 commits into from
Feb 27, 2017

Conversation

moellenbeck
Copy link
Member

closes #10

README.md Outdated

const path = path.resolve(__dirname, 'tests/configs/env');
require('./../index.js'); // replace with require('nconfetti');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich würde die README immer aus der Perspektive des Nutzers schreiben - also den Kommentar entfernen und direkt require('nconfetti');.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

README.md Outdated
- node samples/simple.js
- have fun

## Description

After require `nconfetti` the backend will be added as storage backend

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Finde ich schlecht verständlich - besser: After requiring nconfetti the its storage will automagically be registered to nconf.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

README.md Outdated
- node samples/simple.js
- have fun

## Description

After require `nconfetti` the backend will be added as storage backend
for `nconf`. Then it needs to be configired with `path`and `env`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo > configured

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Das initiale Beispiel erklärt nicht ausreichend wie path und env zu verwenden sind.

Hierzu würde es Sinn machen mehrere, saubere Beispiele für verschiedene Szenarien aufzunehmen.

Beispiele sind immer greifbarer als Text - auch zu den verschiedenen Options würde ich jeweils Beispiele aufnehmen.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, hier erstelle ich ein Issue. Ok?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

siehe #12

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich würde das aber auch nicht als sample in Ordnern verstecken, sondern direkt in die README schreiben. Ich bin immer dankbar wenn ich fremde READMEs lese und dort alles finde, anstatt mich erst durch das gesamte Repo zu arbeiten und mir dort Beispiele zu suchen.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

habe ich verstanden ;-)

README.md Outdated
- runit with
- npm install
- node samples/simple.js
- have fun
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vorschlag:

1. navigate to sample/simple
2. run it with

   `npm install`
   `node samples/simple.js`

3. have fun

so sähe das aus:

  1. navigate to sample/simple

  2. run it with

    npm install
    node samples/simple.js

  3. have fun


Fragen

Geht das wirklich so?

Wo wird npm install ausgeführt?

README.md Outdated
After require `nconfetti` the backend will be added as storage backend
for `nconf`. Then it needs to be configired with `path`and `env`.
After requiring `nconfetti` the its storage will automagically be registered to `nconf`.
Then it needs to be configured with `path`and `env`.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kleiner Typo ist drin, so ist das korrekt:

After requiring nconfetti its storage will automagically be registered to nconf.
Then it needs to be configured with path and env.

automagically klingt sehr gut ;)

@cmg-dev
Copy link

cmg-dev commented Feb 21, 2017

@R5on11c Kannst Du das mal nach der neuen Anleitung testen?

@R5on11c
Copy link
Contributor

R5on11c commented Feb 22, 2017

Hab ein paar Typos gefixed und mal durchgeschaut...

Ist anwendbar. Ein anwendbares Beispiel dazu wie ein Environment-Wechsel funktioniert wäre ganz gut (persönliche Meinung).

In der README.md wird vars erwähnt (und erklärt), aber nie angewendet. Was hat es damit auf sich?

@moellenbeck moellenbeck merged commit f9eae47 into develop Feb 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐛 Fix the README.md
4 participants