Elixir umbrella project containing several custom CMSs made with Elixir/Phoenix.
Elixir >= 1.17
node >= 20
PostgreSQL
Set environment variable
UMBRELLA_COOKIE_DOMAINfor shared session cookie (e.g.export UMBRELLA_COOKIE_DOMAIN=".umbrella.test")Set environment variable
UMBRELLA_SUPER_SEARCH_URLfor super search url (e.g.export UMBRELLA_SUPER_SEARCH_URL="http://search.alaska.test")Make sure environment variables are set before compilation, as the values are set at compile time
Clone or download this repo
Update
postgres_config()inUmbrella.Common.Configif necessary to match you PostgreSQL configurationRun
mix deps.getRun
npm installRun
npm run deployRun
mix ecto.setupSee
apps/grenadier/README.mdfor the mix task to create a new userIn the project root directory run
mix phx.server
Individual app documentation along with instructions for app specific mix tasks can be found in README.md files in the ./apps directory
- Set environment variable
UMBRELLA_SECRET_KEY_BASEusing the result frommix phx.gen.secret
- Add
"type": "module"topackage.json - Run
npm test
Phoenix Umbrella is released under the MIT License. See license.txt for more details.