You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
*[Install dependencies](#install-dependencies)
3
3
*[Set up environment](#set-up-environment)
4
4
*[Set up the database](#set-up-the-database)
5
+
*[Set up MinIO](#setup-minio)
5
6
*[Run](#run)
6
7
*[Create an account for yourselves and grant you access to the portal](#create-an-account-for-yourselves-and-grant-you-access-to-the-portal)
7
8
*[Known issues](#known-issues)
@@ -179,6 +180,20 @@ This project uses asdf, and there is a .tool-versions file at the project root.
179
180
go run ./cmd/authgear search database migrate up
180
181
```
181
182
183
+
## Set up MinIO
184
+
185
+
```sh
186
+
docker compose up -d minio
187
+
docker compose exec -it bash
188
+
189
+
# Inside the container
190
+
mc alias set local http://localhost:9000 "$MINIO_ROOT_USER" "$MINIO_ROOT_PASSWORD"
191
+
# Create a bucket named "images"
192
+
mc mb local/images
193
+
# Create a bucket named "userexport"
194
+
mc mb local/userexport
195
+
```
196
+
182
197
## Run
183
198
184
199
1. In case you have made changes to authui, you run `make authui` to re-build the assets, or run `make authui-dev` to start the development server (Hot Reload/Hot Module Replacement supported).
0 commit comments