This repository contains all documentations and environnement scripts
This project has two modules :
- DPTracker-api: The java (springboot based) application referring to the wep-api
- DPTracker-web: The UI, an Angular 2 application made with webpack, sass and bootstrap
- Install JDK 8 (oracle)
- Install Maven
- Install MongoDB
- Install NodeJS
First clone the project DPTracker in your project directory mkdir dpt && cd dpt
:
git clone [email protected]:dialibah/DPTracker.git
Then go in the cloned directory cd DPTracker
and clone all the required modules using clone-repo.sh
sudo chmod +x clone-repos.sh # make it executable
./clone-repos.sh all
At this step, you have the two web and api module in your project directory, working on branch master
.
The
master
branch is exclusively used for production environment. Then, it should be always stable for productionThe
develop
branch is for integration tasks
To build and run your DPTracker-api module run these commands :
git checkout develop
mvn clean install
mvn spring-boot:run
To build and run your DPTracker-web module run these commands :
git checkout develop
npm install
npm run dev