Alex Moreno
6a55bc9227
gitea/salix/pipeline/head There was a failure building this commit
Details
|
||
---|---|---|
.vscode | ||
back | ||
db | ||
e2e | ||
front | ||
loopback | ||
modules | ||
storage | ||
.dockerignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.yml | ||
.gitignore | ||
CHANGELOG.md | ||
Dockerfile | ||
Jenkinsfile | ||
LICENSE | ||
README.md | ||
babel.config.js | ||
docker-compose.local.yml | ||
docker-compose.test.yml | ||
docker-compose.yml | ||
fileMock.js | ||
gulpfile.js | ||
init.sh | ||
jest-front.js | ||
jest.front.config.js | ||
package-lock.json | ||
package.json | ||
runTestBack.sh | ||
runTestE2E.sh | ||
runTestFront.sh |
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
With NodeJS
$ npm run start
Manually reset fixtures.
$ docker compose -f docker-compose.local.yml up --build
With NodeJS
$ npm run restart
Running the unit tests
For client-side unit tests run from project's root.
$ sh runTestFront.sh
With NodeJS
$ npm run test:front
For server-side unit tests run from project's root.
$ sh runTestBack.sh
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