8000 GitHub - dom111/phoenix-template: A Phoenix project starter using `docker-compose` and `make`.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dom111/phoenix-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elixir/Phoenix Skeleton

What is this?

This is a simple project that allows you to use docker-compose to run your Phoenix app in a containerised environment, and a make mechanism to allow you to manage these tasks. This means that Elixir, mix, node etc are all installed within the container, rather than being on your machine.

Requirements

  • Docker
  • docker-compose
  • make
  • A POSIX-compatible shell (Tested on Linux)

Installation

To add this to your existing Phoenix project, merge in:

  • config (remember to change the app references from MyApp (my_app)!)
  • docker
  • .env.dist
  • docker-compose.yml
  • Makefile

If you're brave and/or reckless, feel free to try the following:

curl https://raw.githubusercontent.com/dom111/phoenix-template/master/install.sh | bash

Build

make up

Other commands

make migrate # runs ecto migrations
make webpack # runs webpack build
make watch # runs webpack watch

About

A Phoenix project starter using `docker-compose` and `make`.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0