A platform for deploying blogs using
.md
files on GitHub.
- Totally free. 💸
- Blog can be created in seconds ⏩
- You content is always safe on github
- Readers can contribute to your posts 🔨
- Donation links available through your blog (Coming soon.) 💰
And much more features coming 😁
- Clone this repository and go to the directory;
- Create a .env file with the following variables
GITHUB_API_TOKEN
- Create a personal access token (no scope needed);GITHUB_OAUTH_CLIENT_ID
andGITHUB_OAUTH_CLIENT_SECRET
- Create an OAuth application with homepage urlhttp://127.0.0.1:4000
and callbackhttp://127.0.0.1:4000/auth/github/callback
.
- Run
docker-compose build
; - Install mix dependencies
docker-compose run --rm web mix deps.get
; - Create database
docker-compose run --rm web mix ecto.create
; - Run the migrations
docker-compose run --rm web mix ecto.migrate
; - Install npm dependencies
docker-compose run --rm web npm install --prefix apps/web/assets
;
- Run
docker-compose up
; - Access localhost:4000;
- Run
docker-compose run --rm web mix ci
;
- Fork this repository;
- Create a branch with your feature:
git checkout -b my-feature
; - Commit your changes:
git commit -m 'My new feature'
; - Push to your branch:
git push origin my-feature
.
After the merge of your pull request is done, you can delete your branch.