This guide will help you set up a local development environment for TEAMMATES.
Before you begin, a basic familiarity with the following will help:
git remote add upstream https://github.com/TEAMMATES/teammates.git
git fetch upstream
Verification: Run git branch -r and verify upstream/master is listed.
master branch:git checkout master
git branch -u upstream/master
./gradlew createConfigs
gradlew.bat createConfigs
Verification: A gradle.properties file should appear in the project root.
Edit gradle.properties if needed:
org.gradle.java.home if you want to use a specific JDK.Install frontend dependencies:
npm ci
Verification: A node_modules folder should appear in the project root.
./gradlew generateTypes
gradlew.bat generateTypes
docker compose up -d
./gradlew serverRun
gradlew.bat serverRun
The backend will be available at http://localhost:8080.
npm run start
The frontend will be available at http://localhost:4200.
To test TEAMMATES locally, you will need an instructor and a student account.
app_admin@gmail.com).Your environment is now ready. Here's what to do next: