Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bobdenotter/chmodinator
ChmøĐïna✝️oR!!1 🤘 - A small Bolt 4/5 extension to `chmod` files that need to be writabable for both the shell-user, as well as the webserver. Primarily for shared hosting, where you have less control over these matters.
https://github.com/bobdenotter/chmodinator
Last synced: 25 days ago
JSON representation
ChmøĐïna✝️oR!!1 🤘 - A small Bolt 4/5 extension to `chmod` files that need to be writabable for both the shell-user, as well as the webserver. Primarily for shared hosting, where you have less control over these matters.
- Host: GitHub
- URL: https://github.com/bobdenotter/chmodinator
- Owner: bobdenotter
- License: mit
- Created: 2021-05-12T04:12:53.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-06-17T13:31:25.000Z (over 3 years ago)
- Last Synced: 2024-05-09T21:25:57.530Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chmodinator
A small Bolt 4/5 extension to `chmod` files that need to be writabable for both
the shell-user, as well as the webserver. Primarily for shared hosting, where
you have less control over these matters.## Installation:
```bash
composer require bobdenotter/chmodinator
```Then, edit your Bolt's global `config.yaml`, to explicitly set the
`canonical: `. This is needed, because the extensions needs to be able to fetch
a link in the backend from the command line.You should also review the settings in `config/extensions/bobdenotter-chmodinator.yaml`,
to ensure you've set a new, unique key.To test if it's working, run `bin/console chmodinator:do`. After that, run it as
you please. A common use case is to run it before and after deploying, to ensure
the site works after deployment, but also so that the commandline user is
allowed to clean up the files of old deploys.Example output:
![Example output](https://user-images.githubusercontent.com/1833361/122406205-f3eb9c00-cf80-11eb-87be-f5d8f82e5a8f.png)
Alternatively, you can just run it as a web-based request, by calling the URL
`https://example.org/chmodinator/abc123456def`. Obviously, substitute the
domain name and the key (`abc123456def`) for yours.---
## Running PHPStan and Easy Codings Standard
First, make sure dependencies are installed:
```
COMPOSER_MEMORY_LIMIT=-1 composer update
```And then run ECS:
```
vendor/bin/ecs check src
```