When I began this project I wanted to start a programming blog, but found most of the frameworks to be overly complicated or have features I did not want or need. Maybe I just wanted an excuse to learn ReasonML ✨.
Install node v10
yarn
touch .env
Add your aws keys
# .env
AWS_ACCESS_KEY=
AWS_SECRET=
BUCKET_NAME=
cd posts
touch Welcome.md
posts.json looks like
[
{
"id": "1",
"file": "Welcome.md",
"title": "Welcome"
}
]
Welcome.md can be any markdown.
to make your posts public run
yarn run add-posts
This will upload all your posts to s3
yarn run start
yarn run server
yarn run publish
gaa
git commit -m"publish"
git push
Configure github pages to use the master branch.