44fd2a6871
* Boostrap Phoenix application from mix phx.new * Add opentelemetry dependencies * Setup opentelemetry for local env * Setup Dockerfile, docker-compose and otel config * Configure runtime config for exporter to export to otel collector in prod env * Generate Posts HTML resources * Add Release module to run migration in release * Generate Users LiveView resource * Add exporter configuration to export directly to external service * Update README.md to include description and instructions * Update README.md to include more details on exporting traces * Fix otlp collector deprecated ports as suggested
12 lines
345 B
Elixir
12 lines
345 B
Elixir
# Script for populating the database. You can run it as:
|
|
#
|
|
# mix run priv/repo/seeds.exs
|
|
#
|
|
# Inside the script, you can read and write to any of your
|
|
# repositories directly:
|
|
#
|
|
# Demo.Repo.insert!(%Demo.SomeSchema{})
|
|
#
|
|
# We recommend using the bang functions (`insert!`, `update!`
|
|
# and so on) as they will fail if something goes wrong.
|