UoG-WebDev-2024
UoG-WebDev-2024 copied to clipboard
Movies
To start your Phoenix server:
- Install Elixir. See instructions here
- Start the Postgres Docker container with:
docker compose up -d - Run
mix deps.getto install the dependencies - Run
mix ecto.createto create the database - Import the Movies dataset with
cd ./priv/repo && ./import.sh(this might take a while) - Run
mix ecto.migrateto add the search indexes. - Start Phoenix endpoint with
mix phx.serveror inside IEx withiex -S mix phx.server
Now you can visit localhost:4000 from your browser.
Learn more
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix