database removed outside

This commit is contained in:
2026-06-08 14:48:14 +08:00
parent bf8e72f5b6
commit 75dd78aa33
68 changed files with 679 additions and 1815 deletions
+15 -1
View File
@@ -61,9 +61,22 @@ Change these passwords from the dashboard profile panel before regular use.
Each user stores projects under:
```text
database/<username>/layout
mxpic_EDA_database/<username>/layout
```
Before starting the server, move the existing `database` folder beside the repo
and rename it to `mxpic_EDA_database`:
```text
<parent-folder>/
mxpic_EDA/
mxpic_EDA_database/
```
The backend fails fast if the runtime database folder is missing or still inside
the repository. Use `MXPIC_DATABASE_ROOT` only when the database must live in a
different external location.
## Useful environment variables
```text
@@ -72,6 +85,7 @@ MXPIC_PORT=3000
MXPIC_DEBUG=0
MXPIC_SECRET_KEY=<long random string>
MXPIC_COOKIE_SECURE=0
MXPIC_DATABASE_ROOT=<path-to-mxpic_EDA_database>
MXPIC_PDK_PUBLIC_ROOT=<path-to-public-foundries>
MXPIC_PDK_ATLAS_ROOT=<path-to-atlas-foundries>
```