TBA
- ROCC schemas version: 0.2.0
- ROCC app version: 0.1.0
- Docker image: [sagebionetworks/rocc-app]
-
git clone --recursive https://github.com/Sage-Bionetworks/rocc-app.git
-
Create the configuration file.
cp .env.example .env -
Go to the ROCC API service and retrieve the service images
docker compose pull -
Come back to this repo and start the ROCC app.
docker compose up --build- access the app on http://localhost:80 by default
- access the swagger UI on http://localhost:8080/api/v1
This section describes how to start the ROCC API service and the ROCC Angular app in development environment. After each step, you need to come back to the project root folder.
-
git clone --recursive https://github.com/Sage-Bionetworks/rocc-app.git
-
Build the Sage Bionetworks library for Angular
cd sage-angular/ npm ci cd projects/sage-angular npm build sage-angular -
Build the ROCC client library for Angular
cd rocc-client-angular/rocc-client npm ci npm run build -
Install the dependencies
npm ci -
Start the ROCC API service on http://localhost:8080/api/v1
-
Start the web client (uses Angular CLI)
npm run start
Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.