mirror of
https://github.com/mivodev/mivodev.github.io.git
synced 2026-01-26 05:25:36 +07:00
docs: update installation guides and docker image refs for v1.2.0
This commit is contained in:
@@ -46,7 +46,7 @@ version: '3.8'
|
||||
|
||||
services:
|
||||
mivo:
|
||||
image: ghcr.io/mivodev/mivo:${VERSION:-latest}
|
||||
image: mivodev/mivo:${VERSION:-latest}
|
||||
container_name: ${CONTAINER_NAME:-mivo}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
||||
@@ -18,7 +18,7 @@ docker run -d \
|
||||
-e APP_ENV=production \
|
||||
-v mivo_data:/var/www/html/app/Database \
|
||||
-v mivo_config:/var/www/html/.env \
|
||||
ghcr.io/mivodev/mivo:latest
|
||||
mivodev/mivo:latest
|
||||
```
|
||||
|
||||
Open your browser and navigate to `http://localhost:8080`.
|
||||
|
||||
@@ -13,6 +13,38 @@ This guide covers installation on various platforms. MIVO is designed to be ligh
|
||||
|
||||
---
|
||||
|
||||
## <Icon name="Terminal" color="secondary" /> Manual Installation (Linux/VPS) {#manual-linux}
|
||||
Recommended for VPS users (Ubuntu/Debian/CentOS) who prefer manual setup over Docker.
|
||||
|
||||
### 1. Requirements
|
||||
Ensure you have `git`, `unzip`, and `php` installed.
|
||||
```bash
|
||||
sudo apt update
|
||||
sudo apt install git unzip php php-sqlite3 php-openssl php-curl php-mbstring php-json
|
||||
```
|
||||
|
||||
### 2. Clone Repository
|
||||
```bash
|
||||
cd /var/www/html
|
||||
git clone https://github.com/mivodev/mivo.git
|
||||
cd mivo
|
||||
```
|
||||
|
||||
### 3. Install Dependencies
|
||||
You need **Composer**. If not installed, [get it here](https://getcomposer.org/download/).
|
||||
```bash
|
||||
composer install --no-dev --optimize-autoloader
|
||||
```
|
||||
|
||||
### 4. Permissions (Important)
|
||||
Give the web server write access to the database and config folders.
|
||||
```bash
|
||||
chown -R www-data:www-data app/Database public app/Config
|
||||
chmod -R 775 app/Database public app/Config
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## <Icon name="Container" color="info" /> Docker (Recommended)
|
||||
The easiest way to run MIVO.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user