Upgrading
Upgrading Maxun is straightforward, whether you're running it locally or using Docker Compose. Follow the instructions below based on your setup.
Upgrading with Docker Compose
-
Navigate to your Project Directory
Open your terminal or command prompt and change your current directory to your Maxun project folder (e.g.,
maxun
).cd maxun
-
Stop Running Containers
First, stop any currently running Maxun containers.
docker-compose down
-
Remove Old Docker Images (Optional but Recommended)
To free up disk space and ensure you're using the freshest images without any caching issues, remove your old backend and frontend images.
Note: If you're on Windows, run these commands in PowerShell, Git Bash, or WSL (Windows Subsystem for Linux), not Command Prompt (CMD).
docker rmi getmaxun/maxun-frontend:latest getmaxun/maxun-backend:latest
-
Pull Latest Docker Images
Pull the newest Docker images for your backend and frontend services.
docker-compose pull backend frontend
-
Start Maxun
Launch Maxun using the updated Docker images.
docker-compose up -d
Upgrading with Local Setup
If you've set up Maxun directly on your machine, follow these steps to upgrade to the latest version.
-
Navigate to your Project Directory
Open your terminal or command prompt and change your current directory to your Maxun project folder (e.g.,
maxun
).cd maxun
-
Pull Latest Changes
Fetch the most recent updates from the
master
branch of the repository.git pull origin master
-
Install Dependencies
Update your project's dependencies to ensure everything is compatible with the new code.
npm install
-
Start Maxun
Launch Maxun.
npm run start