InvoicePlane is a free, open-source invoicing application that allows you to manage your invoices, clients, payments, and other billing-related tasks. Here's how to install InvoicePlane on your EndeavourOS Latest system using the GitHub repository.
Before you start, make sure you have the following prerequisites installed on your system:
You can install these prerequisites using the following commands:
sudo pacman -S nginx php php-fpm php-gd php-mysql mariadb git
git clone https://github.com/InvoicePlane/InvoicePlane.git
sudo cp -r InvoicePlane /srv/http/
config
directory and copy the ipconfig.php.example
file to ipconfig.php
:cd /srv/http/InvoicePlane/application/config/
sudo cp ipconfig.php.example ipconfig.php
ipconfig.php
file in a text editor and update the following settings according to your system configuration:$config['base_url'] = 'http://your-domain.com/'; # your domain or IP address
$config['index_page'] = '';
$config['uri_protocol'] = 'AUTO';
$config['encryption_key'] = ''; # specify a unique key
$config['sess_save_path'] = BASEPATH . 'cache/session/';
$config['sess_match_ip'] = false;
$config['sess_time_to_update'] = 300;
CREATE DATABASE invoiceplane_db;
GRANT ALL PRIVILEGES ON invoiceplane_db.* TO 'invoiceplane_user'@'localhost' IDENTIFIED BY 'password';
FLUSH PRIVILEGES;
setup
script from the ipconfig.php
directory:cd /srv/http/InvoicePlane/
sudo php index.php setup
Follow the setup wizard to configure your InvoicePlane installation. Enter the database details and other necessary information.
Once the setup is complete, set the appropriate file permissions for the uploads
and application/logs
directories:
sudo chown -R http:http /srv/http/InvoicePlane/uploads/
sudo chown -R http:http /srv/http/InvoicePlane/application/logs/
/etc/nginx/nginx.conf
file:server {
listen 80;
server_name your-domain.com; # your domain or IP address
root /srv/http/InvoicePlane/;
index index.php;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
include fastcgi_params;
}
}
sudo systemctl restart nginx
http://your-domain.com/
That's it! You have successfully installed InvoicePlane on EndeavourOS Latest from the GitHub repository. Start managing your invoices, clients, and other billing-related tasks using this powerful invoicing application.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!