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: