Pre-requirements: NestJS, npm
These are the env variables that need to be set-up:
- MONGO_READ: The connection string. Can be found in Keepass
- MONGO_DATABASE: Which database to use. production or testingNew
- GITHUB_TOKEN: The Github token. Can be found in Keepass
- LOG_PATH: The path for the log files to be saved in. Somewhere on your system.
- DATA_PATH: The path for the data files to be saved in. Somewhere on your system.
- From root cd into /oss-api
- Run npm i to install all the necessary packages
- Finally you can start the dev server with npm run start:dev
Pre-requirements: AngularJS, npm, finished backend setup
- From root cd into /frontend
- Run npm i to install all the necessary packages
- Finally you can start the dev server with npm run start
Use the Login Details from KeePass to access the add-Institution-View (Internal use only so far). It allows you to add new Institutions to the TodoInstitution Collection and thus put them into the cue of Institutions which are Crawled. Please read the Instructions in the Userinterface also.
ts are timestamps that are used to check when that organization/institution were crawled.
"null" is the intial value so that the new organization/institution will be crawled with the next crawl run.
After that it will be overwritte in the database.
Once someone has updated the github_repos.json file and the pull request was merged, the new or updated insitution must be added to the database.
This can be done in 4 easy steps:
- Open the productive Website (or local, Choose the production DB and then todoInstitution collection.)
- Login. The Credentials can be found in Keepass.
- Click Add/Edit an Institution.
- Check if the new repository details in "github_repos.md" are valid: the organisation shortname has to match the name in the url of the GitHub page.
- Add the new Organisation or Edit if nessecary (You can reset the timestamp to cue the institution for crawling).