|
| 1 | +import CenteredLayout from "@/ui/CenteredLayout.astro"; |
| 2 | +import Tab from '@mdx/Tab.astro'; |
| 3 | +import Tabs from '@mdx/Tabs.astro'; |
| 4 | +import Steps from '@mdx/Steps.astro'; |
| 5 | +import Npm from "@mdx/Npm.astro"; |
| 6 | +import Npx from "@mdx/Npx.astro"; |
| 7 | +import f from "@mdx/RowCodeWrap.astro" |
| 8 | + |
| 9 | +<CenteredLayout isStudio={true} customTitle="Meet Drizzle Studio"> |
| 10 | +# Meet Drizzle Gateway |
| 11 | + |
| 12 | +## Docker quick start |
| 13 | +<Steps> |
| 14 | + |
| 15 | +#### Create a named docker volume |
| 16 | +```shell |
| 17 | +docker volume create drizzle-gate |
| 18 | +``` |
| 19 | + |
| 20 | +#### Run the container |
| 21 | +```shell |
| 22 | +docker run -d \ |
| 23 | + --name drizzle-gate \ |
| 24 | + --restart always \ |
| 25 | + -p 4983:4983 \ |
| 26 | + -e PORT=4983 \ # Set the port for Drizzle Gateway (optional) |
| 27 | + -e STORE_PATH=./app \ # Set your store path here (optional) |
| 28 | + -e MASTERPASS=your_master_password \ # Set your master password here (optional) |
| 29 | + -v drizzle-gate:/app \ |
| 30 | + ghcr.io/drizzle-team/gateway:latest |
| 31 | +``` |
| 32 | + |
| 33 | +</Steps> |
| 34 | + |
| 35 | +## Binary quick start |
| 36 | +<Steps> |
| 37 | +#### Create a directory for the binary and set permissions |
| 38 | +```shell |
| 39 | +mkdir drizzle-gateway |
| 40 | +cd drizzle-gateway |
| 41 | +``` |
| 42 | + |
| 43 | +#### Download the latest release depending on your OS and architecture |
| 44 | +linux-arm64 |
| 45 | +```shell |
| 46 | +curl -Lo start https://pub-e240a4fd7085425baf4a7951e7611520.r2.dev/drizzle-gateway-0.1.1-linux-arm64 |
| 47 | +``` |
| 48 | +linux-x64 |
| 49 | +```shell |
| 50 | +curl -Lo start https://pub-e240a4fd7085425baf4a7951e7611520.r2.dev/drizzle-gateway-0.1.1-linux-x64 |
| 51 | +``` |
| 52 | +macos-arm64 |
| 53 | +```shell |
| 54 | +curl -Lo start https://pub-e240a4fd7085425baf4a7951e7611520.r2.dev/drizzle-gateway-0.1.1-macos-arm64 |
| 55 | +``` |
| 56 | +macos-x64 |
| 57 | +```shell |
| 58 | +curl -Lo start https://pub-e240a4fd7085425baf4a7951e7611520.r2.dev/drizzle-gateway-0.1.1-macos-x64 |
| 59 | +``` |
| 60 | + |
| 61 | +#### Make the binary executable |
| 62 | +```shell |
| 63 | +chmod +x start |
| 64 | +``` |
| 65 | + |
| 66 | +#### Run the binary |
| 67 | +```shell |
| 68 | +./start |
| 69 | +``` |
| 70 | +</Steps> |
| 71 | + |
| 72 | +## Usage |
| 73 | +Once Drizzle Gateway is running, you can access it via the web interface at `http://localhost:4983`. |
| 74 | +You can connect to your databases, run queries, and manage your data through the intuitive UI. |
| 75 | + |
| 76 | +## What's next? |
| 77 | +We're going to massively improve and extend Drizzle Gateway in the upcoming months! |
| 78 | +Subscribe on [Twitter](https://twitter.com/DrizzleORM) and welcome to our [Discord](https://driz.link/discord) |
| 79 | + |
| 80 | +## Changelog |
| 81 | + |
| 82 | +**0.1.1** |
| 83 | + |
| 84 | +- Added the ability to create/alter/drop schemas. |
| 85 | +- Added the ability to create/alter tables. |
| 86 | +- Added the ability to create/alter views. |
| 87 | +- Added the ability to create enums. |
| 88 | +- Added uuid, cidr, inet, macaddr and macaddr8 data types. |
| 89 | +- Added range selection with copy/paste capability. |
| 90 | +- Added new setting option for expanding subviews. |
| 91 | +- Added datepicker and timepicker. |
| 92 | +- Improved error handling for INSERT/UPDATE/DELETE. |
| 93 | +- Added a multiline editor. |
| 94 | +- Added error handling in schema management. |
| 95 | +- Added a new setting option for pagination by page. |
| 96 | +- Added column type to header cell. |
| 97 | + |
| 98 | +</CenteredLayout> |
0 commit comments