- Added Electron entry point in `electron/main.js` to run the Express server in-process and open the main application window. - Updated `package.json` to include Electron dependencies and scripts for building and running the application. - Refactored server startup logic into `server/start.js` for better modularity and to support both CLI and Electron usage. - Implemented environment variable handling for database and image paths to accommodate Electron's packaging. - Created a script `server/scripts/promote-morphix.js` to merge admin and morphix accounts into a single user. - Adjusted image root path resolution in `server/media/images.js` to allow for environment variable overrides. - Cleaned up `server/index.js` to delegate server initialization to the new `startServer` function.
9 lines
78 B
Plaintext
9 lines
78 B
Plaintext
node_modules/
|
|
dist/
|
|
dist-electron/
|
|
data/db/
|
|
data/images/
|
|
.env
|
|
.DS_Store
|
|
*.log
|