mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 13:12:41 +00:00
Documentation for installing on Arch
Documentations for Debian still needs to be amended
This commit is contained in:
parent
6d790c5efd
commit
6c750d2dc0
2 changed files with 32 additions and 1 deletions
|
@ -11,6 +11,6 @@ The Arsse has the following requirements:
|
|||
- [curl](http://php.net/manual/en/book.curl.php) (optional)
|
||||
- Privileges either to create and run systemd services, or to run cron jobs
|
||||
|
||||
Instructions for how to satisfy the PHP extension requirements for Debian systems are included in the next section.
|
||||
Instructions for how to satisfy the PHP extension requirements for Debian and Arch Linux systems are included in the next section.
|
||||
|
||||
It is also be possible to run The Arsse on other operating systems (including Windows) and with other Web servers, but the configuration required to do so is not documented in this manual.
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
_[TOC]
|
||||
|
||||
# Downloading The Arse
|
||||
|
||||
The Arsse is available from the [Arch User Repository](https://aur.archlinux.org/) as packages `arsse` and `arsse-git`. The latter should normally only be used to test bug fixes.
|
||||
|
||||
Generic release tarballs may also be downloaded [from our Web site](https://thearsse.com). The `PKGBUILD` file (found under `arsse/dist/arch/`) can then be extracted alongside the tarball and used to build the `arsse` package.
|
||||
|
||||
# Installation
|
||||
|
||||
For illustrative purposes, this document assumes the `yay` [AUR helper](https://wiki.archlinux.org/title/AUR_helpers) will be used to download, build, and install The Arsse. This section summarises the steps necessary to configure and use The Arsse after installtion:
|
||||
|
||||
```sh
|
||||
# Install the package
|
||||
sudo yay -S arsse
|
||||
# Enable the necessary PHP extensions; curl is optional but recommended; pdo_sqlite may be used instead of sqlite, but this is not recommended
|
||||
sudo sed -ie 's/^;\(extension=\(curl\|iconv\|intl\|sqlite3\)\)$/\1/' /etc/php/php.ini
|
||||
# Enable the necessary systemd units
|
||||
sudo systemctl enable php-fpm arsse
|
||||
sudo systemctl restart php-fpm arsse
|
||||
```
|
||||
|
||||
Note that the above is the most concise process, not necessarily the recommended one. In particular [it is recommended](https://wiki.archlinux.org/title/PHP#Extensions) to use `/etc/php/conf.d/` to enable extensions rather than editing `php.ini` as done above.
|
||||
|
||||
# Next steps
|
||||
|
||||
If using a database other than SQLite, you will likely want to [set it up](Database_Setup) before doing anything else.
|
||||
|
||||
In order for the various synchronization protocols to work, a Web server [must be configured](Web_Server_Configuration), and in order for The Arsse to serve users, those users [must be created](/en/Using_The_Arsse/Managing_Users).
|
||||
|
||||
You may also want to review the `config.defaults.php` file included in the download package and create [a configuration file](Configuration), though The Arsse can function even without using a configuration file.
|
Loading…
Reference in a new issue