Note: This guide was written before the renaming. Just replace HackMD
with CodiMD
in your mind :smile: thanks!
Go to AWS S3 console and create a new bucket.
Click on bucket, select Properties on the side panel, and find Permission section. Click Edit bucket policy.
Enter the following policy, replace bucket_name
with your bucket name:
Go to IAM console and create a new IAM user. Remember your user credentials(key
/access token
)
Enter user page, select Permission tab, look at Inline Policies section, and click Create User Policy
Select Custom Policy
Enter the following policy, replace bucket_name
with your bucket name:
Edit config.json
and set following keys:
In additional to edit config.json
directly, you could also try environment variable.
CodiMD
Docs