Skip to content

Latest commit

 

History

History
70 lines (53 loc) · 1.49 KB

README.md

File metadata and controls

70 lines (53 loc) · 1.49 KB

TBlog

Overview

A blog application.

Screenshots

List articles

Edit article

Show article

Tech Stack

  • Elixir
  • Phoenix
  • Postgresql
  • Ecto
  • Bootstrap
  • Docker
  • Docker compose

Prerequisites

To run this application you must have these resources installed:

Development with Docker

# Docker compose setup
$ docker-compose up --build -d

# Setup the database
$ docker-compose exec web mix ecto.setup

# Run the server
$ docker-compose exec web mix phx.server

The project will be available at localhost:4000.

Testing with Docker

# Docker compose setup
$ docker-compose up --build -d

# Setup the database
$ docker-compose exec web MIX_ENV=test mix ecto.reset

# Run the tests
$ docker-compose exec web mix test