Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itznotabug/appwriteupdaterscript
Update & Migrate your Appwrite instance sequentially with a small script 🌟!
https://github.com/itznotabug/appwriteupdaterscript
Last synced: 1 day ago
JSON representation
Update & Migrate your Appwrite instance sequentially with a small script 🌟!
- Host: GitHub
- URL: https://github.com/itznotabug/appwriteupdaterscript
- Owner: ItzNotABug
- Created: 2024-02-28T08:10:49.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-09-14T18:10:31.000Z (19 days ago)
- Last Synced: 2024-09-16T03:28:22.273Z (17 days ago)
- Language: Shell
- Size: 15.6 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Appwrite Updater Script 🚀
Update & Migrate your Appwrite instance sequentially with a small script 🌟!
### Features 🌈
- **Updates**: Fetch and apply the latest Appwrite version seamlessly.
- **Version Selection**: Choose a specific version to update to, with a default to the latest.
- **Sequential Version Migration**: If you select a version several releases ahead, the script updates version by version, ensuring proper migration of the internal dataset
and databases for each incremental update.
- **Migration Management**: Run migrations post-update.
- **Space Cleanup**: Remove previous Docker image to free up space.### Prerequisites 🛠️
- Docker / Docker Desktop
- `jq` for JSON processing### Quick Start 🚀
1. **Navigate to the correct folder**:\
Navigate to where your `appwrite` folder is.
Directory structure is same as `appwrite` requires -```text
parent_directory <= you run the commands in this directory
└── appwrite
└── docker-compose.yml
```2. **Get the script**:
```bash
curl -o appwrite-updater.sh https://raw.githubusercontent.com/ItzNotABug/AppwriteUpdaterScript/master/appwrite-updater.sh && chmod +x appwrite-updater.sh
```3. **Run the Script**:
```bash
./appwrite-updater.sh
```Follow the prompts to select the version you wish to update to. If no input is provided, the script defaults to the latest version.
### Contributing 🤝
Contributions are welcome! Feel free to fork, improve, and submit a pull request.
### Disclaimer ⚠️
This script is independently maintained and not an official appwrite product. Use at your own risk.
---
**Note: The script is tested on a Mac system only.**