83 lines
1.8 KiB
Markdown
83 lines
1.8 KiB
Markdown
# 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
|
|
|
|
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
|
|
|
|
install nginx globally.
|
|
|
|
## Getting Started // ### Installing
|
|
|
|
Pull from repository.
|
|
|
|
install nodejs v6.
|
|
|
|
Ask a senior developer for the datasources.development.json files required to run the project.
|
|
|
|
on root run:
|
|
$ npm install
|
|
$ gulp install
|
|
|
|
lauching nginx:
|
|
$ ./dev.sh
|
|
|
|
launching frontend:
|
|
$ gulp client
|
|
or start nginx before client on sequence
|
|
$ gulp clientDev
|
|
|
|
launching backend:
|
|
$ gulp services
|
|
or start the local database before services on sequence
|
|
$ gulp serivcesDev
|
|
|
|
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
|
|
|
|
* [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/)
|
|
|
|
## Versioning
|
|
|
|
We use [SourceTree](https://www.sourcetreeapp.com/) for versioning. For the versions available, see the [salix project](https://git.verdnatura.es).
|
|
|
|
## License
|
|
|
|
This project is licensed under the MIT License
|
|
|