From b71329fd91a12e728dceb540bf80afa48b2fb281 Mon Sep 17 00:00:00 2001 From: Bilal Catic Date: Tue, 18 Feb 2020 11:07:51 +0100 Subject: [PATCH] update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 543d2eb..35881af 100644 --- a/README.md +++ b/README.md @@ -9,3 +9,10 @@ Note: execute commands from `backend` directory 1. Copy `env.template` and rename it to `.env`. Set desired values 2. Run `yarn install`. To skip dev dependencies, run `yarn install --production`. More info : https://classic.yarnpkg.com/en/docs/cli/install/#toc-yarn-install-production-true-false 3. To start server, run `yarn start` + +#### Tests + +To execute tests, run `yarn test`. To speed up process, copy `.env` file to +`.test.env` and set smaller values for export/import times (e.g. 1 second). +If `.test.env` does not exist, values from `.env` file will be used. +If `.env.` does not exist, default values will be used.