Refactor AareDB backend and update schemas and paths.
Revised backend schema definitions, removing unnecessary attributes and adding new configurations. Updated file path references to align with the aaredb structure. Cleaned up redundant notebook content and commented out unused database regeneration logic in the backend. Added posting a result to the database
This commit is contained in:
@ -171,12 +171,12 @@ async function fetchAndGenerate() {
|
||||
const backendDirectory = (() => {
|
||||
switch (nodeEnv) {
|
||||
case 'prod':
|
||||
return path.resolve('/home/jungfrau/heidi-v2/backend/app'); // Production path
|
||||
return path.resolve('/home/jungfrau/aaredb/backend/app'); // Production path
|
||||
case 'test':
|
||||
return path.resolve('/home/jungfrau/heidi-v2/backend/app'); // Test path
|
||||
return path.resolve('/home/jungfrau/aaredb/backend/app'); // Test path
|
||||
case 'dev':
|
||||
default:
|
||||
return path.resolve('/Users/gotthardg/PycharmProjects/heidi-v2/backend/app'); // Development path
|
||||
return path.resolve('/Users/gotthardg/PycharmProjects/aaredb/backend/app'); // Development path
|
||||
}
|
||||
})();
|
||||
|
||||
|
Reference in New Issue
Block a user