refactor(docs): move media guides
The media guides should also live in their own folder like the auth guides do as well Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
committed by
Erik Michelson
parent
814271dc0b
commit
f1070734b1
@@ -21,22 +21,22 @@
|
||||
docker logs test-minio
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
3. Open <http://localhost:9000> and login with the shown credentials.
|
||||
|
||||

|
||||

|
||||
|
||||
4. Create a bucket for HedgeDoc
|
||||
|
||||

|
||||

|
||||
|
||||
5. Add a policy for the prefix `uploads` and make it read-only.
|
||||
|
||||

|
||||

|
||||
*Open policy editor*
|
||||
|
||||

|
||||

|
||||
*Add policy for uploads*
|
||||
|
||||
6. Set credentials and configs for Minio in HedgeDoc's `config.json`
|
||||
@@ -75,4 +75,4 @@ CMD_S3_BUCKET="your-bucket-name"
|
||||
|
||||
The access key and secret key are the values you received when you enabled the interoperability feature.
|
||||
|
||||
After restarting HedgeDoc you should now be able to add images to your pages.
|
||||
After restarting HedgeDoc you should now be able to add images to your pages.
|
||||
@@ -3,13 +3,13 @@
|
||||
**Note:** *This guide was written before the renaming. Just replace `HackMD` with `HedgeDoc` in your mind 😃 thanks!*
|
||||
|
||||
1. Go to [AWS S3 console](https://console.aws.amazon.com/s3/home) and create a new bucket.
|
||||

|
||||

|
||||
|
||||
2. Click on bucket, select **Properties** on the side panel, and find **Permission** section. Click **Edit bucket policy**.
|
||||

|
||||

|
||||
|
||||
3. Enter the following policy, replace `bucket_name` with your bucket name:
|
||||

|
||||

|
||||
|
||||
```json
|
||||
{
|
||||
@@ -28,13 +28,13 @@
|
||||
4. Go to IAM console and create a new IAM user. Remember your user credentials(`key`/`access token`)
|
||||
|
||||
5. Enter user page, select **Permission** tab, look at **Inline Policies** section, and click **Create User Policy**
|
||||

|
||||

|
||||
|
||||
6. Select **Custom Policy**
|
||||

|
||||

|
||||
|
||||
7. Enter the following policy, replace `bucket_name` with your bucket name:
|
||||

|
||||

|
||||
|
||||
```json
|
||||
{
|
||||
@@ -70,7 +70,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
9. In additional to edit `config.json` directly, you could also try [environment variables](../configuration.md).
|
||||
9. In additional to edit `config.json` directly, you could also try [environment variables](../../configuration.md).
|
||||
|
||||
## Related Tools
|
||||
|
||||
Reference in New Issue
Block a user