Skip to content

MutilatedPeripherals/basedlanding

Repository files navigation

Based Solutions Landing Page

Install the tools

  1. Elixir & Erlang:
    # Ubuntu
    sudo apt install erlang-dev elixir
    
    # Fedora
    sudo dnf install erlang elixir
  2. Hex Package Manager:
    mix local.hex
  3. Phoenix:
    mix archive.install hex phx_new
  4. inotify-tools (for hot reloading):
    # Ubuntu
    sudo apt-get install inotify-tools
    
    # Fedora
    sudo dnf install inotify-tools

Install project deps & run the app

mix deps.get
mix phx.server

For deployment:

export SECRET_KEY_BASE=$(openssl rand -base64 48)

docker compose up --build

References: