mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix typos. Switch second set of yarn/NPM content
This commit is contained in:
parent
48ced0d47c
commit
4584b62389
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user