Installation

Prerequisites

  • Python 3.10 or higher

  • A compiled MOOSE framework installation (phase_field-opt binary)

  • Node.js 18+ (for the frontend)

  • Git

Clone the Repository

git clone https://github.com/<your-org>/AutoMOOSE.git
cd AutoMOOSE

Python Dependencies

pip install -r requirements.txt

Environment Configuration

Copy the example config and set your MOOSE executable path:

cp config.env.example config.env

Edit config.env:

MOOSE_EXEC=/path/to/your/moose/phase_field-opt
RUNS_DIR=../runs

Frontend Dependencies

cd frontend
npm install
cd ..

Verify Installation

cd backend
export $(grep -v '^#' ../config.env | xargs)
python -c "from server import app; print('Backend OK')"