Skip to content

sueboy19/elixir_phoneix_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

elixir_phoneix_demo

  1. git clone
  2. docker compose up --build
    
  3. http://localhost:4000

Steps for Demo

  1. Mac Install mix [https://elixir-lang.org/install.htmlUploading config.exs… ](https://elixir-lang.org/install.html)
    brew install elixir
    
  2. Install Phoenix https://hexdocs.pm/phoenix/installation.html#phoenix
    mix archive.install hex phx_new
    
  3. make Relase continer (https://hexdocs.pm/phoenix/releases.html#containers)[https://hexdocs.pm/phoenix/releases.html#containers]
    mix phx.gen.secret # keep SECRET
    
    Replace docker-compose.yml SECRET_KEY_BASE、DATABASE_URL
    mix phx.gen.release --docker
    
  4. Big problems is db and migrate, maybe need mix ecto.migrate... so... just use elixir_phoneix_demo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published