Skip to content

lypborges/docker-elixir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

docker-elixir

Sample phoenix project running on docker.

MyApp

To start your Phoenix app:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with npm install
  • Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000 from your browser.

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

System dependencies

Configuration

After install docker for your OS you need:

  • Run docker-compose build
  • You may need to run this again, if any gem is added to the project.

Database creation

  • Run docker-compose run web mix ecto.create
  • Run docker-compose run web mix ecto.migrate

Running your server

  • Run docker-compose run web mix ecto.migrate
  • Run docker-compose up
  • Go to http://localhost:4000/ and be happy ;)

Learn more

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published