Skip to content
/ elixir_templates Public template

Templates for common files/configs in Elixir/Phoenix projects

Notifications You must be signed in to change notification settings

dmarcoux/elixir_templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Templates for common files/configs in Elixir/Phoenix projects.

How to Use This Template

  1. Create a new repository based on this repository:
  • Go to this repository's page, click on the Use this template button and follow instructions.

    OR

  • With GitHub's CLI, run gh repo create NEW_REPOSITORY_NAME --template=dmarcoux/elixir_templates.

  1. Search for CHANGEME in the newly created repository to adapt it to your needs.

  2. For a Phoenix application, generate it with:

    1. Set up development environment:

      mise install
    2. Install phx_new:

      mix archive.install hex phx_new 1.8.3

      Omit the version (1.8.3) to install latest version of phx_new.

    3. Generate the Phoenix application within the current directory:

      mix phx.new . --app awesome_name

Development Environment

Rely on Mise to install tools, set environment variables, and run tasks. Refer to mise.toml for details. The Mise documentation is there to help you get started, there's no need to repeat it all here. It boils down to activating Mise (optional), installing tools, and running tasks.

Install tools with:

mise install

See available tasks with:

mise run

Continuous Integration with GitHub Actions

Linters, tests and more. Details under .github/workflows.

Automated dependency updates. Details in the config.

About

Templates for common files/configs in Elixir/Phoenix projects

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Contributors 2

  •  
  •  

Languages