merge-requests/5/head
Terence Eden 2024-02-16 08:51:52 +00:00
rodzic 976e2bc320
commit e0b518969d
1 zmienionych plików z 9 dodań i 2 usunięć

Wyświetl plik

@ -8,9 +8,9 @@ This is designed to be a lightweight educational tool to show you the basics of
There are no tests, no checks, no security features, no header verifications, no containers, no gods, no masters. There are no tests, no checks, no security features, no header verifications, no containers, no gods, no masters.
Edit the `.php` file to add a username, password, and keypair. Edit the `index.php` file to add a username, password, and keypair.
Upload the `.php` and `.htaccess` file to the *root* directory of your domain. For example `test.example.com/`. It will not work in a subdirectory. Upload `index.php` and `.htaccess` to the *root* directory of your domain. For example `test.example.com/`. It will not work in a subdirectory.
Optionally, upload an `icon.png` as well to make the account look nice. Optionally, upload an `icon.png` as well to make the account look nice.
@ -20,3 +20,10 @@ Optionally, upload an `icon.png` as well to make the account look nice.
* The `index.php` file performs a specific action depending on the path requested. * The `index.php` file performs a specific action depending on the path requested.
* Log files are saved as .txt in the `/logs` directory. * Log files are saved as .txt in the `/logs` directory.
* Post files are saved as .json in the `/posts` directory. * Post files are saved as .json in the `/posts` directory.
## Requirements
* PHP 8.3 (We live in the future now)
* The [OpenSSL Extension](https://www.php.net/manual/en/book.openssl.php) (This is usually installed by default)
* HTTPS certificate (Let's Encrypt is fine)
* 50MB free disk space (ActivityPub is a very "chatty" protocol. Expect lots of logs.)