Next-gen AI-powered intelligent terminal for all platforms
DrawDB is a robust and user-friendly database entity relationship (DBER) editor right in your browser. Build diagrams with a few clicks, export sql scripts, customize your editor, and more without creating an account. See the full set of features here.
git clone https://github.com/drawdb-io/drawdb
cd drawdb
npm install
npm run devgit clone https://github.com/drawdb-io/drawdb
cd drawdb
npm install
npm run builddocker build -t drawdb .
docker run -p 3000:80 drawdbTo serve the app from a sub-path, set the deployment context at runtime. Replace /drawdb with your desired base path.
docker run -p 3000:80 -e DRAWDB_BASE_PATH=/drawdb drawdbVITE_BASE_PATH(build-time) controls the base URL when building outside of Docker. Set it before runningnpm run build, for exampleVITE_BASE_PATH=/drawdb npm run build. The default/serves the app at the domain root. The Docker image sets a placeholder during build so you can usually leave this unset.DRAWDB_BASE_PATH(runtime, Docker only) updates the pre-built assets and Nginx routing when the container starts. It must match the path used at build time (default/). Provide a relative path such as/drawdb.
If you want to enable sharing, set up the server and environment variables according to .env.sample. This is optional unless you need to share files..
