The Data Management Planning Component provides a tool that allows a NIST researcher to plan out how data will managed throughout the lifecycle of a research project.
This is a testing build that interacts with a Python API which queries a MongoDB instance
This project was generated with Angular CLI version 13.2.6.
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
The npm
tool can be used in the standard way for Angular projects to
build and test this software.
Detail commands and instructions:
-
Clone this repository and update Angular library
After clone the repository, do the following:
cd oar-dmp-angular-ui
git checkout master
git submodule update --init --recursive
cd lib
git checkout integration
Now lib folder should have the latest code of oar-lib-angular.
-
Install packages
Go to root folder, then do npm install:
Note: make sure your npm version is 7.0.0 or higher. Use npm -v to check your version.
If not, run npm install -g npm@latest.
cd ..
npm i
- Build the Angular library
npm run build-lib
- Build and run your application
npm run build-oardmp
npm run start-oardmp
- Testing your app
Browse: http://localhost:4201
- Running with docker
Docker container can be built after completing step 3
sudo docker-compose -f DMP_Docker_Compose.yml up -d --build
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
The administrators of this repository include:
- Niksa Blonder ([email protected])
- Gretchen Greene ([email protected])
- Ray Plante ([email protected])
- Christopher David ([email protected])