Merge pull request #1860 from hunicus/npm-install-note

Update npm install command and node.js requirements
This commit is contained in:
wiz 2022-06-11 05:23:08 +09:00 committed by GitHub
commit 2492bc69ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -77,13 +77,13 @@ Query OK, 0 rows affected (0.00 sec)
#### Build #### Build
_Make sure to use Node.js 16.15 and npm 7._ _Make sure to use Node.js 16.10 and npm 7._
Install dependencies with `npm` and build the backend: Install dependencies with `npm` and build the backend:
``` ```
cd backend cd backend
npm install # add --prod for production npm install
npm run build npm run build
``` ```

View File

@ -34,7 +34,7 @@ $ npm run config:defaults:bisq
### 3. Run the Frontend ### 3. Run the Frontend
_Make sure to use Node.js 16.15 and npm 7._ _Make sure to use Node.js 16.10 and npm 7._
Install project dependencies and run the frontend server: Install project dependencies and run the frontend server:
@ -71,13 +71,13 @@ Set up the [Mempool backend](../backend/) first, if you haven't already.
### 1. Build the Frontend ### 1. Build the Frontend
_Node.js 16 and npm 7 are recommended._ _Make sure to use Node.js 16.10 and npm 7._
Build the frontend: Build the frontend:
``` ```
cd frontend cd frontend
npm install # add --prod for production npm install
npm run build npm run build
``` ```