Fix typos. Switch second set of yarn/NPM content

This commit is contained in:
Federico Esparza 2018-12-16 10:36:35 -06:00 committed by GitHub
parent 48ced0d47c
commit 4584b62389
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
# Backend Installation
{% hint style="warning" %}
This documentation should be split into a **local** and a **docker** installation variant. Also my be there should be a main docker installation guide for the while system at once!?
This documentation should be split into a **local** and a **docker** installation variant. Also maybe there should be a main docker installation guide for the whole system at once!?
{% endhint %}
### Clone Repository
@ -43,23 +43,6 @@ npm install
{% tab title="Yarn" %}
#### Development
```bash
npm run dev
```
#### Production
```bash
# you will need to build the app first (done while building the docker image)
npm run build
# run after build (dist folder must exist)
npm run start
```
{% endtab %}
{% tab title="NPM" %}
#### Development
```bash
yarn run dev
```
@ -73,6 +56,23 @@ yarn run build
yarn run start
```
{% endtab %}
{% tab title="NPM" %}
#### Development
```bash
npm run dev
```
#### Production
```bash
# you will need to build the app first (done while building the docker image)
npm run build
# run after build (dist folder must exist)
npm run start
```
{% endtab %}
{% endtabs %}
This will start the GraphQL service \(by default on [http://localhost:4000](http://localhost:4000)\) where you can issue GraphQL requests or access GraphQL Playground in the browser