From f4d5bfcf4a1e2212262ad7a8467939b2b5161e80 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Tue, 24 May 2022 21:33:38 -0700 Subject: [PATCH] Updated yarn references in README. --- README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3bbfb075..fb2169c1 100644 --- a/README.md +++ b/README.md @@ -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: