Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jottenlips/deprecated-jottenlips.github.io
📃 ReasonML markdown blog engine, turn an S3 bucket into a Github Pages blog
https://github.com/jottenlips/deprecated-jottenlips.github.io
blog-engine experiment functional-programming jamstack javascript markdown ocaml react reason reasonml webpack
Last synced: 8 days ago
JSON representation
📃 ReasonML markdown blog engine, turn an S3 bucket into a Github Pages blog
- Host: GitHub
- URL: https://github.com/jottenlips/deprecated-jottenlips.github.io
- Owner: jottenlips
- Created: 2019-09-05T15:06:56.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-01-05T23:57:07.000Z (almost 2 years ago)
- Last Synced: 2024-10-15T03:07:02.126Z (22 days ago)
- Topics: blog-engine, experiment, functional-programming, jamstack, javascript, markdown, ocaml, react, reason, reasonml, webpack
- Language: Reason
- Homepage: https://jottenlips.github.io/deprecated-jottenlips.github.io/
- Size: 3.7 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# How to use this Blog Engine
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 ✨.## Get started
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.](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet)
to make your posts public run
```
yarn run add-posts
```This will upload all your posts to s3
## Run project locally
```
yarn run start
``````
yarn run server
```## Deploy changes to code base
```
yarn run publish
gaa
git commit -m"publish"
git push
```Configure github pages to use the master branch.
[Working example: this blog's codebase](https://github.com/jottenlips/jottenlips.github.io)