Option A: Using Chocolatey (Recommended) - Requires Admin Rights
# Run PowerShell as Administrator
choco install elixir -yOption B: Using Direct Installers
- Download Erlang/OTP 26: https://www.erlang.org/downloads
- Download Elixir 1.15: https://github.com/elixir-lang/elixir/releases
- Install both in order (Erlang first, then Elixir)
- Add to PATH if not automatically added
elixir --version
mix --version- PostgreSQL: Download v15+ (Optional for frontend-only dev)
- Git: Download
Run the included setup script to install dependencies automatically:
.\setup.ps1Or double-click setup.bat.
The frontend is designed to work standalone with a mock API for development.
-
Navigate to the frontend directory:
cd frontend
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
Access the app at http://localhost:3000
Note: Requires Elixir and PostgreSQL installed.
-
Navigate to backend directory:
cd open_bionic_lib
-
Install dependencies:
mix deps.get
-
Setup Database:
mix ecto.setup
-
Start Server:
mix phx.server
API runs on http://localhost:4000
-
Navigate to frontend:
cd frontend
-
Start with API mode:
npm run dev
The frontend will automatically detect the backend at
http://localhost:4000.
Build and run the entire stack (Frontend + Backend + Database) with one command:
docker-compose up --build- Frontend: http://localhost:3000
- Backend: http://localhost:4000
- Database: port 5432
- Frontend: Open
http://localhost:3000- should see "Open|Bionic" - Backend: Get
http://localhost:4000/api/v1/health- should return JSON - Tests: Run
npm run type-checkin frontend folder