felipelincoln / branchpage

A blogging platform integrated with GitHub.
https://www.branchpage.com
MIT License
49 stars 5 forks source link
blogging-platform elixir markdown

BranchPage

A platform for deploying blogs using .md files on GitHub.

codecov

βœ… Features

And much more features coming :grin:

πŸš€ Installation and execution

  1. Clone this repository and go to the directory;
  2. Create a .env file with the following variables

πŸ“¦οΈ Running for the first time

  1. Run docker-compose build;
  2. Install mix dependencies docker-compose run --rm web mix deps.get;
  3. Create database docker-compose run --rm web mix ecto.create;
  4. Run the migrations docker-compose run --rm web mix ecto.migrate;
  5. Install npm dependencies docker-compose run --rm web npm install --prefix apps/web/assets;

πŸ”§ Development

  1. Run docker-compose up;
  2. Access localhost:4000;

πŸ§ͺ Tests

  1. Run docker-compose run --rm web mix ci;

πŸ€” How to contribute

After the merge of your pull request is done, you can delete your branch.