jussih / phlog

PHoenix bLOG: Phoenix LiveView test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Phlog

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.setup
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Ready to run in production? Please check our deployment guides.

Docker

How this project was created

The project was initialized with the included docker configuration:

  • docker-compose build
  • docker-compose run --no-deps app mix phx.new --app phlog --module Phlog .

NOTE the Dockerfile creates a user in the container. the UID and GID should match the host user values so files created will have proper ownership.

How to use

Run docker-compose up.

About

PHoenix bLOG: Phoenix LiveView test


Languages

Language:Elixir 68.0%Language:CSS 18.9%Language:JavaScript 6.8%Language:Dockerfile 4.4%Language:HTML 2.0%