https://github.com/alejandronanez/phoenix-template
Phoenix Project Template
https://github.com/alejandronanez/phoenix-template
docker elixir phoenix template
Last synced: 2 months ago
JSON representation
Phoenix Project Template
- Host: GitHub
- URL: https://github.com/alejandronanez/phoenix-template
- Owner: alejandronanez
- Created: 2019-05-19T22:39:17.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-20T07:41:32.000Z (about 7 years ago)
- Last Synced: 2025-10-11T13:19:24.384Z (9 months ago)
- Topics: docker, elixir, phoenix, template
- Language: Elixir
- Size: 17.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PhoenixTemplate
To start your Phoenix server:
- Install dependencies with `mix deps.get`
- Create and migrate your database with `mix ecto.create && mix ecto.migrate`
- Start Phoenix endpoint with `mix phx.server`
Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
Ready to run in production? Please [check our deployment guides](http://www.phoenixframework.org/docs/deployment).
## Start the DB
- Install Docker
- Run `docker run --name phoenix_db -p 5432:5432 --volume phoenix_data:/var/lib/postgresql/data -e 'POSTGRES_DB phoenix_template_dev' --rm postgres:11`
- That will create a DB called `phoenix_template_dev`
## Learn more
- Official website: http://www.phoenixframework.org/
- Guides: http://phoenixframework.org/docs/overview
- Docs: https://hexdocs.pm/phoenix
- Mailing list: http://groups.google.com/group/phoenix-talk
- Source: https://github.com/phoenixframework/phoenix