Bumpy Booby is a web application designed to manage breast cancer and provide support for patients. In this tutorial, we will be guiding you on how to install Bumpy Booby on Fedora Server Latest.
To install Bumpy Booby, you need to have the following prerequisites:
Before we can proceed with the installation, we need to install some dependencies. Open your terminal and run the following command:
sudo dnf install php php-common php-mbstring php-xml php-gd php-pdo php-mysqlnd mysql-server httpd -y
This command will install all the required dependencies.
Composer is a PHP package manager that we will use to install some of the required libraries for Bumpy Booby. To install Composer, run the following command:
sudo curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/bin --filename=composer
This command will install the Composer package manager in your system.
Now that we have installed all the required packages, we need to create a database for Bumpy Booby. Run the following command to log in to the MariaDB server:
sudo mysql -u root
Create a new database by running the following command:
CREATE DATABASE bumpy_booby;
Create a new user and grant privileges to the user to access the database:
CREATE USER 'bumpy_user'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON bumpy_booby.* TO 'bumpy_user'@'localhost';
FLUSH PRIVILEGES;
exit;
Make sure to replace the "password" placeholder with a strong password for the user.
Now that we have all the prerequisites in place, we can proceed with the installation of Bumpy Booby. Run the following command to clone the Bumpy Booby repository:
sudo git clone https://github.com/hexabinome/bumpy-booby.git /var/www/html/bumpy-booby
Navigate to the newly created directory and install the dependencies using Composer:
cd /var/www/html/bumpy-booby
sudo composer install
Copy the ".env.example" file to ".env" and edit the file to fill in the database details:
sudo cp .env.example .env
sudo nano .env
Add the following lines to the ".env" file:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=bumpy_booby
DB_USERNAME=bumpy_user
DB_PASSWORD=password
Exit the text editor by typing "CTRL+X", then "Y" and finally "ENTER".
Generate a new application key:
php artisan key:generate
Run the following command to migrate the database:
php artisan migrate
Finally, set the proper permissions for Bumpy Booby to work properly:
sudo chown -R apache:apache /var/www/html/bumpy-booby
To configure Apache, we need to create a new virtual host for Bumpy Booby. Run the following command to create a new virtual host file:
sudo nano /etc/httpd/conf.d/bumpy-booby.conf
Add the following lines to the file:
<VirtualHost *:80>
ServerName your_domain.com
ServerAlias www.your_domain.com
DocumentRoot /var/www/html/bumpy-booby/public
ErrorLog /var/log/httpd/bumpy-booby_error_log
CustomLog /var/log/httpd/bumpy-booby_access_log combined
<Directory /var/www/html/bumpy-booby>
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Make sure to replace "your_domain.com" with your actual domain name.
Save and exit the file by typing "CTRL+X", then "Y" and finally "ENTER".
Restart the Apache web server to apply the changes:
sudo systemctl restart httpd
That's it! You have successfully installed Bumpy Booby on Fedora Server Latest. You can now access the application by visiting your domain name in a web browser.
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!