Updated yarn references in README.
This commit is contained in:
parent
3974392eee
commit
f4d5bfcf4a
15
README.md
15
README.md
|
@ -17,9 +17,14 @@ See [Running on Railway](https://umami.is/docs/running-on-railway) to get starte
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
- A server with Node.js 12 or newer
|
- A server with Node.js 12 or newer
|
||||||
- Yarn package manager
|
|
||||||
- A database (MySQL or Postgresql)
|
- A database (MySQL or Postgresql)
|
||||||
|
|
||||||
|
### Install Yarn (if needed)
|
||||||
|
|
||||||
|
```
|
||||||
|
npm install -g yarn
|
||||||
|
```
|
||||||
|
|
||||||
### Get the source code and install packages
|
### Get the source code and install packages
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -68,13 +73,13 @@ The `HASH_SALT` is used to generate unique values for your installation.
|
||||||
### Build the application
|
### Build the application
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm run build
|
yarn build
|
||||||
```
|
```
|
||||||
|
|
||||||
### Start the application
|
### Start the application
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm start
|
yarn start
|
||||||
```
|
```
|
||||||
|
|
||||||
By default this will launch the application on `http://localhost:3000`. You will need to either
|
By default this will launch the application on `http://localhost:3000`. You will need to either
|
||||||
|
@ -105,8 +110,8 @@ To get the latest features, simply do a pull, install any new dependencies, and
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git pull
|
git pull
|
||||||
npm install
|
yarn install
|
||||||
npm run build
|
yarn build
|
||||||
```
|
```
|
||||||
|
|
||||||
To update the Docker image, simply pull the new images and rebuild:
|
To update the Docker image, simply pull the new images and rebuild:
|
||||||
|
|
Loading…
Reference in New Issue