mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 17:36:22 +00:00
ec34c34e31
Signed-off-by: Ryan Russell <git@ryanrussell.org>
1.1 KiB
1.1 KiB
Upgrading
This document only applies to versions after v0.7.0-alpha.57. Projects created before need to be recreated.
Make sure to back up your database before upgrading
Docker
Switch to the project directory
# SQLite
cd nocobase/docker/app-sqlite
# MySQL
cd nocobase/docker/app-mysql
# PostgreSQL
cd nocobase/docker/app-postgres
In the docker-compose.yml
file, replace the image of the app container with the latest version
services:
app:
image: nocobase/nocobase:0.7.0-alpha.62
Download the image and start it
# Download the latest image and start it
docker-compose up -d app
# Check the status of the app process
docker-compose logs app
create-nocobase-app
Execute the nocobase upgrade
command
# Switch to the project directory
cd my-nocobase-app
# Execute the update command
yarn nocobase upgrade
# Start
yarn start
Git source code
# Switch to the project directory
cd my-nocobase-app
# Pull latest source code
git pull
# Execute the update command
yarn nocobase upgrade
# Start
yarn start