-
Notifications
You must be signed in to change notification settings - Fork 2
Tipps
anlausch edited this page May 23, 2019
·
1 revision
- For development on your local machines, I recommend using a MongoDB inspection tool, such as Robomongo [1].
- If you want to deploy the system on a server, I recommend installing pm2 [2] locally
- For fetching bibliographic resources from the productive system, use the service
/bibliographicResources
- A dump from mongo can be extracted with
mongodump --db <mongo-schema-name> --collection <collection_name>
- A dump can be imported with
mongoimport --db <mongo-schema-name> --collection <collection_name> --<file_name> --jsonArray
- For syncing the data base with the search engine, it should be enough to start the backend
- Switching between
http
andhttps
can be done in<project_root>/api/swagger/swagger.yaml
(schemes
property) - Turning the login functionality on and of is also done in swagger.yaml: Just uncomment
#security:
# - basicAuth: []
- The port can be changed with the node environment variable
LOCDB_PORT
- You might need to extend the node heap space this can be done with the additional V8 flag
max-old-space-size
,--max-old-space-size=8192