Merge branch '1.5' of github.com:rodber/chevereto-free into 1.5

1.5
Rodolfo Berrios 2021-11-27 09:59:29 -03:00
commit 49fe81cc57
6 changed files with 24 additions and 28 deletions

View File

@ -4,10 +4,6 @@
Chevereto-Free allows you to create a full-featured image hosting website on your own server. It's your hosting and your rules, say goodbye to closures and restrictions. Chevereto-Free allows you to create a full-featured image hosting website on your own server. It's your hosting and your rules, say goodbye to closures and restrictions.
## Project status
Starting on **2021-10** the [Chevereto](https://chevereto.com) organization won't be in charge of this project and the repo ownership will be transferred to [@rodber](https://github.com/rodber).
## Screens ## Screens
![Homepage](.github/screen/1a.webp) ![Homepage](.github/screen/1a.webp)
@ -38,8 +34,7 @@ Chevereto-Free is forked from [Chevereto V3.16.2](https://releases.chevereto.com
👉 **This fork misses** 👉 **This fork misses**
* [Installer](https://github.com/chevereto/installer) tooling * All updates (non-security) added in [V3.17](https://releases.chevereto.com/3.X/3.17/3.17.2.html), [V3.18](https://releases.chevereto.com/3.X/3.18/3.18.3.html) and [V3.20](https://releases.chevereto.com/3.X/3.20/3.20.12.html) including:
* All non-security updates added in [V3.17](https://releases.chevereto.com/3.X/3.17/3.17.2.html), [V3.18](https://releases.chevereto.com/3.X/3.18/3.18.3.html) and [V3.20](https://releases.chevereto.com/3.X/3.20/3.20.12.html) including:
* 360 images * 360 images
* Nested albums * Nested albums
* ImageMagick support * ImageMagick support
@ -48,16 +43,20 @@ Chevereto-Free is forked from [Chevereto V3.16.2](https://releases.chevereto.com
* 12FA Support * 12FA Support
* CLI API * CLI API
## Installation ## Requirements
### Requirements
* PHP 7.4 * PHP 7.4
* MySQL 5.7 / 8 - MariaDB 10 * MySQL 5.7 / 8 - MariaDB 10
* Apache HTTP Web Server * Apache HTTP Web Server
* mod_rewrite * mod_rewrite
## Composer-based installation ## Installation
### cPanel
* Check the [Chevereto cPanel setup](https://v3-docs.chevereto.com/setup/server/cpanel.html).
### Composer-based installation
* Requires [Composer](https://getcomposer.org) * Requires [Composer](https://getcomposer.org)
@ -71,23 +70,15 @@ composer create-project rodber/chevereto-free . \
--ignore-platform-reqs --ignore-platform-reqs
``` ```
## Manual installation ### Manual installation
* Pick the [latest release](https://github.com/rodber/chevereto-free/releases/latest) * Pick the [latest release](https://github.com/rodber/chevereto-free/releases/latest)
* Download the tagged `$TAG.zip` release artifact * Download the tagged `$TAG.zip` release artifact
* Unzip the release in your target `public` web-server directory * Unzip the release in your target `public` web-server directory
## Updating ## Upgrading
### HTTP self-update * Check [UPGRADING](UPGRADING.md)
* Go to `/dashboard`
* Click on "Check for updates"
* Follow the on-screen process
### Manual update
See [Manual Installation](#manual-installation)
## License ## License

View File

@ -1,6 +1,6 @@
# Upgrading # Upgrading
To keep the software updated you have to simply keep the application files updated. You can update either: 👉 Keep the application files updated. You can update either by:
* Using the built-in updater at `/dashboard` > Click **check for updates** * Using the built-in updater at `/dashboard` > Click **check for updates**
* Downloading a [Release](https://github.com/rodber/chevereto-free/releases) and **Extract to** the application filesystem * Downloading a [Release](https://github.com/rodber/chevereto-free/releases) and **Extract to** the application filesystem
@ -8,7 +8,7 @@ To keep the software updated you have to simply keep the application files updat
## Upgrade to Paid ## Upgrade to Paid
🤑 There's a paid Chevereto version which you can update from Chevereto-Free. To upgrade to paid: 🤑 To upgrade to paid:
* Purchase a [Chevereto License](https://chevereto.com/pricing) (if you don't have one already 💖) * Purchase a [Chevereto License](https://chevereto.com/pricing) (if you don't have one already 💖)
* Upload the [latest release](https://chevereto.com/panel/downloads) package to your server (usually in the `public_html` folder) * Upload the [latest release](https://chevereto.com/panel/downloads) package to your server (usually in the `public_html` folder)
@ -16,4 +16,4 @@ To keep the software updated you have to simply keep the application files updat
* Remove the `.zip` file * Remove the `.zip` file
* Open your website at `/install` * Open your website at `/install`
Docker users check [chevereto/docker](https://github.com/chevereto/docker) and [chevereto/container-builder](https://github.com/chevereto/container-builder) Docker users check [chevereto/docker](https://github.com/chevereto/docker) and [chevereto/container-builder](https://github.com/chevereto/container-builder).

View File

@ -22,6 +22,7 @@ services:
- chevereto - chevereto
volumes: volumes:
- storage:/var/www/html/images/ - storage:/var/www/html/images/
- content:/var/www/html/content/
- app:/var/www/html/ - app:/var/www/html/
- type: bind - type: bind
source: ${SOURCE} source: ${SOURCE}
@ -40,6 +41,7 @@ services:
volumes: volumes:
database: database:
content:
storage: storage:
app: app:

View File

@ -70,6 +70,7 @@ RUN set -eux; \
} > $PHP_INI_DIR/conf.d/php.ini } > $PHP_INI_DIR/conf.d/php.ini
VOLUME /var/www/html VOLUME /var/www/html
VOLUME /var/www/html/content
VOLUME /var/www/html/images VOLUME /var/www/html/images
COPY . /var/www/html COPY . /var/www/html

View File

@ -7,7 +7,7 @@ services:
networks: networks:
- chevereto - chevereto
volumes: volumes:
- data:/var/lib/mysql - database:/var/lib/mysql
restart: always restart: always
environment: environment:
MYSQL_ROOT_PASSWORD: password MYSQL_ROOT_PASSWORD: password
@ -22,7 +22,7 @@ services:
- chevereto - chevereto
volumes: volumes:
- storage:/var/www/html/images/ - storage:/var/www/html/images/
- app:/var/www/html/ - content:/var/www/html/content/
ports: ports:
- 8810:80 - 8810:80
restart: always restart: always
@ -36,7 +36,8 @@ services:
CHEVERETO_HTTPS: 0 CHEVERETO_HTTPS: 0
volumes: volumes:
data: database:
content:
storage: storage:
app: app:

View File

@ -10,7 +10,8 @@ function sync() {
--info=progress2 \ --info=progress2 \
--filter=':- .gitignore' \ --filter=':- .gitignore' \
--filter=':- .dockerignore' \ --filter=':- .dockerignore' \
--exclude '.git sync.sh' \ --exclude '.git' \
--exclude 'sync.sh' \
--delete \ --delete \
$SOURCE $TARGET $SOURCE $TARGET
} }