Skip to content

Commit

Permalink
pulento tiempos
Browse files Browse the repository at this point in the history
  • Loading branch information
rodber committed Apr 20, 2024
1 parent 1c8fdd1 commit 8ab8592
Show file tree
Hide file tree
Showing 13 changed files with 155 additions and 17 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ actionLink: /introduction/get-started/welcome
footer: Created by Rodolfo Berrios
---

# Install
# QuickStart

## Install

Install Chevereto following our guides for:

* [Docker](./guides/docker/README.md)
* [Pure Docker](./guides/docker/pure-docker.md)
* [Docker Factory](./guides/docker/README.md)
* [VPS](./guides/server/vps.md)
* [cPanel](./guides/cpanel/README.md)
* [Plesk](./guides/plesk/README.md)
Expand Down
2 changes: 1 addition & 1 deletion application/installing/from-free.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Users of [chevereto/chevereto](https://github.com/chevereto/chevereto) can one-c

To manual upgrade follow the [Updating](updating.md) documentation using the paid edition files.

**Note:** [Docker](../../guides/docker/README.md) users don't need any of these steps, simply re-build the container image ([make image](https://github.com/chevereto/docker/blob/4.0/docs/BUILDING.md) or [docker build](https://github.com/chevereto/docker/blob/4.0/docs/PURE-DOCKER.md)) and re-start your containers.
**Note:** [Docker](../../guides/docker/README.md) users don't need any of these steps, simply re-build the container image ([make image](https://github.com/chevereto/docker/blob/4.1/docs/BUILDING.md) or [docker build](https://github.com/chevereto/docker/blob/4.1/docs/PURE-DOCKER.md)) and re-start your containers.

## rodber/chevereto-free

Expand Down
3 changes: 2 additions & 1 deletion application/installing/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ Chevereto requires [PHP](../stack/php.md), a [Web Server](../stack/web-server.md

For fresh installations continue with one of the following guides.

* [Chevereto Docker Factory](../../guides/docker/README.md)
* [Chevereto Pure Docker](../../guides/docker/pure-docker.md)
* [Chevereto cPanel](../../guides/cpanel/README.md)
* [Chevereto Plesk](../../guides/plesk/README.md)
* [Chevereto Docker](../../guides/docker/README.md)
* [Chevereto VPS](../../guides/server/vps.md)

## Community guides
Expand Down
4 changes: 2 additions & 2 deletions application/installing/updating.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ For manual upgrade refer to [Installing](installation.md#using-release-package)

### Docker

When using Docker it will required to re-build the Chevereto image ([make image](https://github.com/chevereto/docker/blob/4.0/docs/BUILDING.md) or [docker build](https://github.com/chevereto/docker/blob/4.0/docs/PURE-DOCKER.md)) and then re-start the containers.
When using Docker it will required to re-build the Chevereto image ([make image](https://github.com/chevereto/docker/blob/4.1/docs/BUILDING.md) or [docker build](https://github.com/chevereto/docker/blob/4.1/docs/PURE-DOCKER.md)) and then re-start the containers.

Refer to [UPDATING](https://github.com/chevereto/docker/blob/4.0/docs/UPDATING.md) for instructions.
Refer to [UPDATING](https://github.com/chevereto/docker/blob/4.1/docs/UPDATING.md) for instructions.

## Database update

Expand Down
4 changes: 4 additions & 0 deletions application/stack/operating-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ Make sure to replace references in this documentation from **www-data** to the t
## Windows and others

For non Unix-like systems as Windows we **recommend** using our [Docker](../../guides/docker/README.md) provisioning.

## Video processing

Chevereto V4.1 (Pulento) requires [FFmpeg](https://ffmpeg.org) to process video uploads. The FFmpeg binary must be available in the system path, you can check this by running `ffmpeg -version` in the terminal.
7 changes: 4 additions & 3 deletions application/stack/php.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# PHP

| Version | PHP |
| ------- | ---- |
| 4.0 | ~8.0 |
| Version | PHP |
| ------- | ------ |
| 4.1 | 8.0.30 |
| 4.0 | ~8.0 |

Chevereto V4 is [PHP](https://php.net/) software, it has been designed using:

Expand Down
2 changes: 1 addition & 1 deletion guides/docker/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Chevereto Docker
# Chevereto Factory

Roll your own multi-website Chevereto infrastructure with Chevereto Factory, a Docker-based system that allows you to deploy and maintain multiple Chevereto websites on demand.

Expand Down
107 changes: 100 additions & 7 deletions guides/docker/pure-docker.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,32 @@
# Pure Docker

If you want full control of the container provisioning you can get our base image at:
Pure Docker refers to running Chevereto using Docker without the need of [Chevereto Docker Factory](README.md). This is the most basic way to run Chevereto using Docker.
See [PURE-DOCKER](https://github.com/chevereto/docker/blob/4.1/docs/PURE-DOCKER.md) for a complete pure Docker command reference.

## Build image

Image building is required for Chevereto **paid edition**. To ease the process we provide a script to build the image, you can find it at [scripts/system/chevereto.sh](https://github.com/chevereto/docker/blob/4.1/scripts/system/chevereto.sh).

```sh
ghcr.io/chevereto/chevereto:latest
VERSION=4.1 \
IMAGE_NAME=chevereto \
./scripts/system/chevereto.sh \
docker build . \
--cache-from ghcr.io/chevereto/chevereto \
--network host \
-f Dockerfile
```

You can get this container running with the following command:
By running the above command you will generate the following tags:

* `chevereto:latest`
* `chevereto:4`
* `chevereto:4.1`
* `chevereto:4.1.0`

## Run (paid edition)

To run [chevereto.com](https://chevereto.com/pricing) (paid edition) you need to pass the environment targeting your private build image, in this case `chevereto:latest`.

```sh
docker run -d \
Expand All @@ -21,13 +41,86 @@ docker run -d \
-e CHEVERETO_ASSET_STORAGE_URL=/images/_assets/ \
-e CHEVERETO_ASSET_STORAGE_BUCKET=/var/www/html/images/_assets/ \
-v /var/www/html/images/ \
ghcr.io/chevereto/chevereto:latest
chevereto:latest
```

See [PURE-DOCKER](https://github.com/chevereto/docker/blob/4.0/docs/PURE-DOCKER.md) for a complete pure Docker command reference.
## Run (free edition)

When using the paid edition you need to build the image locally.
To run [chevereto/chevereto](https://github.com/chevereto/chevereto) (free edition) you need to pass the environment targeting public image `ghcr.io/chevereto/chevereto:latest`.

```sh
make image
docker run -d \
--name chevereto \
-p 80:80 \
-e CHEVERETO_DB_HOST=database \
-e CHEVERETO_DB_USER=chevereto \
-e CHEVERETO_DB_PASS=user_database_password \
-e CHEVERETO_DB_PORT=3306 \
-e CHEVERETO_DB_NAME=chevereto \
-e CHEVERETO_ASSET_STORAGE_TYPE=local \
-e CHEVERETO_ASSET_STORAGE_URL=/images/_assets/ \
-e CHEVERETO_ASSET_STORAGE_BUCKET=/var/www/html/images/_assets/ \
-v /var/www/html/images/ \
ghcr.io/chevereto/chevereto:latest
```

## Using compose

Create your own `docker-compose.yml` at your project folder.

```yml
version: "3.9"

services:
database:
image: mariadb:jammy
networks:
- chevereto
volumes:
- database:/var/lib/mysql
restart: always
healthcheck:
test: ["CMD", "healthcheck.sh", "--su-mysql", "--connect"]
interval: 10s
timeout: 5s
retries: 3
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: chevereto
MYSQL_USER: chevereto
MYSQL_PASSWORD: user_database_password

php:
image: chevereto:latest #tweak with target image to run
networks:
- chevereto
volumes:
- storage:/var/www/html/images/
restart: always
depends_on:
database:
condition: service_healthy
expose:
- 80
environment:
CHEVERETO_DB_HOST: database
CHEVERETO_DB_USER: chevereto
CHEVERETO_DB_PASS: user_database_password
CHEVERETO_DB_PORT: 3306
CHEVERETO_DB_NAME: chevereto
CHEVERETO_HOSTNAME: hostname.com #set your hostname
CHEVERETO_HOSTNAME_PATH: /
CHEVERETO_HTTPS: 0
CHEVERETO_ASSET_STORAGE_TYPE: local
CHEVERETO_ASSET_STORAGE_URL: http://hostname.com/images/_assets/ #hostname-aware URL
CHEVERETO_ASSET_STORAGE_BUCKET: /var/www/html/images/_assets/
CHEVERETO_MAX_POST_SIZE: 2G
CHEVERETO_MAX_UPLOAD_SIZE: 2G

volumes:
database:
storage:

networks:
chevereto:
```
1 change: 1 addition & 0 deletions guides/docker/sorting.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

return [
'pure-docker.md',
'README.md',
];
6 changes: 6 additions & 0 deletions introduction/changelog/4.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@ Image uploads include a unique delete link which on access will permanently remo

Adds another layer for image disposal.

## One-click system update

Easy as pie.

Update the system with a single click, directly from the dashboard panel. Manage your Chevereto license with ease, and keep your system up-to-date.

## Tons of small bits

Little details everywhere.
Expand Down
27 changes: 27 additions & 0 deletions introduction/changelog/4.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 4.1 Pulento

Chevereto V4.1 codename [**Pulento**](https://dle.rae.es/pulento) carries the development started with [Macanudo](4.0.md). It adds Video support, customizable theme font and it starts to deliver the user-based API.

## Blog posts

* [Chevereto 4.1](https://rodolfoberrios.com/2024/04/20/chevereto-4-1/)
* [Video support](https://blog.chevereto.com/upcoming/video-support/)
* [User-based API](https://blog.chevereto.com/upcoming/user-based-api/)

## Video support

Now with support for video content.

Chevereto has always been the photo-sharing champion, and we're not going anywhere. But we see video as the next frontier for creative expression, and we want to be your one-stop shop for all your media needs.

## User-based API

Use and send commands to Chevereto from anywhere.

Every single action in the system will be available under this HTTP API, enabling anyone to build rich Chevereto-based applications by leveraging backend on Chevereto’s and creating tailored user interfaces for your very own needs.

## Customizable theme font

Easy select Chevereto system font to fit your style.

You can now select the font used in the Chevereto theme, this is a system-wide setting that will affect all users, and it is a great way to make Chevereto feel more like home.
1 change: 1 addition & 0 deletions introduction/changelog/naming.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

return [
'welcome-back.md' => 'Welcome Back',
'4.1.md' => "Pulento (4.1)",
'4.0.md' => "Macanudo (4.0)",
];
1 change: 1 addition & 0 deletions introduction/changelog/sorting.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@

return [
'welcome-back.md',
'4.1.md',
'4.0.md',
];

0 comments on commit 8ab8592

Please sign in to comment.