Go to file
Juan Ferrer Toribio 9d92b9def7 Merge branch 'dev' of https://git.verdnatura.es/salix into dev 2018-01-30 08:59:12 +01:00
.vscode Views migrated to vn schema, Node v8, Error handling, async-await, bugs solved 2018-01-29 12:37:54 +01:00
client i18n on backend, improved backend error handling, redundant model-config removed 2018-01-29 19:57:00 +01:00
e2e Merge branch 'dev' of https://git.verdnatura.es/salix into dev 2018-01-29 12:38:08 +01:00
services Merge branch 'dev' of https://git.verdnatura.es/salix into dev 2018-01-30 08:59:12 +01:00
.DS_Store Jenkins 2017-11-07 13:54:19 +01:00
.editorconfig Eslint 2017-03-01 09:55:17 +01:00
.eslintrc.yml Views migrated to vn schema, Node v8, Error handling, async-await, bugs solved 2018-01-29 12:37:54 +01:00
.gitignore refactor on e2e selectors and discal data spec 2017-11-09 09:03:41 +01:00
Jenkinsfile Jenkins 2018-01-08 11:02:40 +01:00
LICENSE README and LICENSE updated 2018-01-29 13:49:59 +01:00
README.md README and LICENSE updated 2018-01-29 13:49:59 +01:00
docker-compose.yml Views migrated to vn schema, Node v8, Error handling, async-await, bugs solved 2018-01-29 12:37:54 +01:00
e2e_tests.js successfully merged sequences for gulp docker and end to end tests 2018-01-08 13:40:05 +01:00
gulpfile.js Views migrated to vn schema, Node v8, Error handling, async-await, bugs solved 2018-01-29 12:37:54 +01:00
karma.conf.js renived private method tests and implemented HeadLessChrome on Karma and removed Firefox as browser 2018-01-26 12:13:39 +01:00
package-lock.json Views migrated to vn schema, Node v8, Error handling, async-await, bugs solved 2018-01-29 12:37:54 +01:00
package.json README and LICENSE updated 2018-01-29 13:49:59 +01:00
services_tests.js backend unit test for routes login 2018-01-29 14:28:31 +01:00
webpack.config.js Views migrated to vn schema, Node v8, Error handling, async-await, bugs solved 2018-01-29 12:37:54 +01:00

README.md

Project Title

Salix 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.

  • Node.js >= 8.9.4
  • NGINX

You will need to install globally the following items.

$ npm install -g karma
$ npm install -g karma-cli
$ npm install -g gulp
$ npm install -g webpack
$ npm install -g nodemon

Getting Started // ### Installing

Pull from repository.

Ask a senior developer for the datasources.development.json files required to run the project.

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

$ npm install
$ gulp install

Launch application in developer environment.

$ gulp

Also you can run backend and frontend as independent gulp tasks.

Launching frontend.

$ gulp client

Launching backend. It restarts NGINX and Node services.

$ gulp services

Start the local database before services on sequence.

$ gulp servicesDev

Manually reset local fixtures.

$ gulp docker

To check docker images and containers status.

$ docker images
$ docker ps -a

Running the tests

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

$ karma start

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

$ npm run test

Break down into end to end tests

Run local database plus e2e paths.

$ gulp e2e

Just the e2e paths as the fixtures are untainted.

$ npm run e2e

Built With

Versioning

We use SourceTree for versioning. For the versions available, see the salix project.