diff --git a/.gitignore b/.gitignore index 8cbcb48..c171ba9 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,9 @@ draincloud_core-*.tar # In case you use Node.js/npm, you want to ignore these. npm-debug.log /assets/node_modules/ +.elixir_ls +.env +.*.env + +Mnesia* \ No newline at end of file diff --git a/config/config.exs b/config/config.exs index 0e6d8f2..fecec48 100644 --- a/config/config.exs +++ b/config/config.exs @@ -10,7 +10,8 @@ import Config config :draincloud_core, namespace: DrainCloudCore, ecto_repos: [DrainCloudCore.Repo], - generators: [timestamp_type: :utc_datetime] + generators: [timestamp_type: :utc_datetime], + server: true # Configures the endpoint config :draincloud_core, DrainCloudCoreWeb.Endpoint, @@ -21,7 +22,8 @@ config :draincloud_core, DrainCloudCoreWeb.Endpoint, layout: false ], pubsub_server: DrainCloudCore.PubSub, - live_view: [signing_salt: "b+c1OF03"] + live_view: [signing_salt: "b+c1OF03"], + server: true # Configure esbuild (the version is required) config :esbuild, diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..d295bb4 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,13 @@ +services: + database: + image: postgres:16 + container_name: draincloud-core-db + env_file: + - ./.db.env + volumes: + - draincore-data:/var/lib/postgresql/data + ports: + - 5432:5432 + +volumes: + draincore-data: {} \ No newline at end of file diff --git a/lib/draincloud_core/rtc.ex b/lib/draincloud_core/rtc.ex new file mode 100644 index 0000000..41c40b1 --- /dev/null +++ b/lib/draincloud_core/rtc.ex @@ -0,0 +1,3 @@ +defmodule DraincloudCore.Rtc do + # Real Time Config module +end diff --git a/lib/draincloud_core_web/controllers/page_html/home.html.heex b/lib/draincloud_core_web/controllers/page_html/home.html.heex index dc1820b..3b2634d 100644 --- a/lib/draincloud_core_web/controllers/page_html/home.html.heex +++ b/lib/draincloud_core_web/controllers/page_html/home.html.heex @@ -1,222 +1 @@ -<.flash_group flash={@flash} /> - -
-
- -

- Phoenix Framework - - v<%= Application.spec(:phoenix, :vsn) %> - -

-

- Peace of mind from prototype to production. -

-

- Build rich, interactive web applications quickly, with less code and fewer moving parts. Join our growing community of developers using Phoenix to craft APIs, HTML5 apps and more, for fun or at scale. -

- -
-
+

Hello

\ No newline at end of file