From 0ab2e5ba2b0631b28b5b1405559237b3913c878f Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Sun, 23 Mar 2025 17:11:39 +0100 Subject: feat: initialize Phoenix application for weather alerts This commit sets up the initial Silmataivas project structure, including: Phoenix web framework configuration, database models for users and locations, weather polling service, notification system, Docker and deployment configurations, CI/CD pipeline setup --- .env.example | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .env.example (limited to '.env.example') diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..4aac524 --- /dev/null +++ b/.env.example @@ -0,0 +1,18 @@ +# Database configuration +# Options for DB_ADAPTER: "sqlite" or "postgres" +DB_ADAPTER=sqlite +# For SQLite, use sqlite3:/path/to/db.sqlite or leave empty for default +# For PostgreSQL, use postgres://user:password@host/database or leave empty for default +DATABASE_URL= + +# API Keys +OPENWEATHERMAP_API_KEY=your-api-key-here + +# AWS/SES for emails +AWS_ACCESS_KEY_ID=your-access-key-id +AWS_SECRET_ACCESS_KEY=your-secret-access-key + +# General +SECRET_KEY_BASE=use-mix-phx-gen-secret-to-generate +PHX_HOST=localhost +PORT=4000 \ No newline at end of file -- cgit v1.2.3