salix/README.md

100 lines
1.8 KiB
Markdown

# Salix
This project is an Enterprise resource planning (ERP) integrated management of core business processes, in real-time and mediated by software and technology developed with the stack listed below.
Salix is also the scientific name of a beautifull tree! :)
## Prerequisites
Required applications.
* Docker
* Git
Optional.
- NodeJS
## Directory structure recommendation
- /Salix
- /back ← this project
- /front ← salix-front project
## Installing dependencies and launching
Pull from repository.
```sh
$ git clone [url] [directory]
```
Run this commands on project root directory to install Node dependencies.
```sh
$ sh init.sh
```
Launch application in developer environment.
```sh
$ docker compose -f docker-compose.local.yml up
# Or with NodeJS
$ npm run start
```
Manually reset fixtures if has changes.
```sh
$ sh db/reset.sh
```
Manually reset strucutre/fixtures always.
```sh
$ sh db/reset.sh --no-cache
```
## Running the unit tests
For client-side unit tests run from project's root.
```sh
$ sh runTest.sh front
# Or with NodeJS
$ npm run test:front
```
For server-side unit tests run from project's root.
```sh
$ sh runTest.sh back
# Or with NodeJS
$ npm run test:back
```
For end-to-end tests run from project's root.
```
$ npm run test:e2e
```
## Visual Studio Code extensions
Open Visual Studio Code, press Ctrl+P and paste the following commands.
In Visual Studio Code we use the ESLint extension.
```
ext install dbaeumer.vscode-eslint
```
## Built With
* [angularjs](https://angularjs.org/)
* [nodejs](https://nodejs.org/)
* [webpack](https://webpack.js.org/)
* [loopback](https://loopback.io/)
* [docker](https://www.docker.com/)
* [gulp.js](https://gulpjs.com/)
* [jest](https://jestjs.io/)
* [Jasmine](https://jasmine.github.io/)
* [Puppeteer](https://pptr.dev/)