Updated yarn references in README.

This commit is contained in:
Mike Cao 2022-05-24 21:33:38 -07:00
parent 3974392eee
commit f4d5bfcf4a
1 changed files with 10 additions and 5 deletions

View File

@ -17,9 +17,14 @@ See [Running on Railway](https://umami.is/docs/running-on-railway) to get starte
### Requirements
- A server with Node.js 12 or newer
- Yarn package manager
- A database (MySQL or Postgresql)
### Install Yarn (if needed)
```
npm install -g yarn
```
### 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
```bash
npm run build
yarn build
```
### Start the application
```bash
npm start
yarn start
```
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
git pull
npm install
npm run build
yarn install
yarn build
```
To update the Docker image, simply pull the new images and rebuild: