Files
old-domensis/README.md

19 lines
673 B
Markdown
Raw Normal View History

2020-02-14 07:53:18 +01:00
# Domensis
2020-02-13 14:52:38 +00:00
2020-02-14 07:53:18 +01:00
## Setup
### Node.js REST API
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`
2020-02-18 11:07:51 +01:00
#### 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.