Go to file
Alex Moreno 4417003d73
gitea/salix/pipeline/head This commit looks good Details
refs #5739 try: test
2024-01-17 08:47:35 +01:00
.vscode Merge branch 'dev' into 5666-loggable_to_mixin 2023-12-22 09:36:02 +00:00
back refs #5739 refactor(back/dockerFille): optimized 2024-01-17 08:38:35 +01:00
db refs #5739 refactor: reset.sh and runTest.sh 2024-01-17 08:09:58 +01:00
e2e refs #5739 feat: try run test back 2024-01-16 09:01:49 +01:00
front refs #5739 refactor: remove comments 2024-01-17 08:13:15 +01:00
loopback refs #5739 try: test 2024-01-17 08:47:35 +01:00
modules refs #5739 feat: try run test back and front 2024-01-15 12:54:11 +01:00
print Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 5739-dockerRefactor 2024-01-15 09:05:30 +01:00
storage add folder storage/access 2022-06-02 08:52:51 +02:00
.dockerignore added CET timezone to dockerfile 2019-02-25 12:52:23 +01:00
.editorconfig Eslint 2017-03-01 09:55:17 +01:00
.eslintignore Project configuration fixed 2019-01-28 12:14:22 +01:00
.eslintrc.yml refs #5772 Parallelism added to PDF generation 2023-06-23 11:42:30 +02:00
.gitignore Enabled back unit tests 2022-11-14 10:13:26 +01:00
CHANGELOG.md refs #6635 build: new version 2024-01-04 08:22:01 +01:00
Dockerfile refs #5739 feat(docker): run back tests 2023-12-19 15:32:39 +01:00
Jenkinsfile refs #5739 fix: jenkins network 2024-01-16 10:06:31 +01:00
LICENSE README and LICENSE updated 2018-01-29 13:49:59 +01:00
README.md refs #5739 refactor: reset.sh and runTest.sh 2024-01-17 08:09:58 +01:00
babel.config.js deprecated dependencies, replaced babel/polyfill 2021-03-12 17:15:26 +01:00
docker-compose.local.yml refs #5739 refactor: remove comments 2024-01-17 08:13:15 +01:00
docker-compose.test.yml refs #5739 fix: front does not depend on the back 2024-01-17 08:18:03 +01:00
docker-compose.yml refs #4090 back memory limit increased because of pupeteer 2023-06-02 13:51:26 +02:00
fileMock.js #1615 migrar karma a jest 2019-09-13 16:09:14 +02:00
gulpfile.js refs #5739 feat(docker): run back tests 2023-12-19 15:32:39 +01:00
init.sh refs #5739 feat: init.sh refactor(readme): add new commands 2024-01-16 09:54:04 +01:00
jest-front.js fix: import date.js and fix e2e 2023-01-23 15:16:42 +01:00
jest.front.config.js fix: import date.js and fix e2e 2023-01-23 15:16:42 +01:00
package-lock.json refs #5739 try jenkins 2024-01-08 13:42:51 +01:00
package.json refs #5739 refactor: reset.sh and runTest.sh 2024-01-17 08:09:58 +01:00
runTest.sh refs #5739 fix: front does not depend on the back 2024-01-17 08:18:03 +01:00

README.md

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.

$ git clone [url] [directory]

Run this commands on project root directory to install Node dependencies.

$ sh init.sh

Launch application in developer environment.

$ docker compose -f docker-compose.local.yml up

# Or with NodeJS
$ npm run start

Manually reset fixtures if has changes.

$ sh db/reset.sh

Manually reset strucutre/fixtures always.

$ sh db/reset.sh --no-cache

Running the unit tests

For client-side unit tests run from project's root.

$ sh runTest.sh front

# Or with NodeJS
$ npm run test:front

For server-side unit tests run from project's root.

$ 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