Initial Setup
Downloading the necessary files for Feedbacky itself, setting up the database and firewall.
Necessary files
1. Create a new directory named "feedbacky" in the /etc directory and access it.
sudo mkdir /etc/feedbacky && cd /etc/feedbacky2. Run the command below to download the necessary files.
sudo curl -O "https://raw.githubusercontent.com/feedbacky-project/app/master/{.env,docker-compose.yml}".envis the file containing the Feedbacky variable in which you can configure to your needs.docker-compose.ymlis the instruction file for Docker.
Database setup
1. Start the SQL shell.
sudo mysql2. Create a new user for Feedbacky.
CREATE USER '{MYSQL_USERNAME}'@'%' IDENTIFIED BY '{MYSQL_PASSWORD}';{MYSQL_USERNAME}
The username of your choice.
{MYSQL_PASSWORD}
The password of your choice.
3. Create a new table for Feedbacky.
CREATE DATABASE feedbacky;4. Grant all privileges to your MySQL user.
GRANT ALL PRIVILEGES ON feedbacky.* TO '{MYSQL_USERNAME}'@'%';5. Flush the privileges.
FLUSH PRIVLEGES;6. Exit the SQL shell.
exitFirewall setup
Uncomplicated Firewall (UFW) is the default Firewall on Ubuntu 20.04, it is disabled by default.
1. Enable Uncomplicated Firewall (UFW).
sudo ufw enable2. Forward the Feedbacky server port.
sudo ufw allow 8095/tcpMake sure that you also create a port forwarding rule in your router settings page. If you are using a Virtual Private Server (VPS) check with your provider.
Last updated
Was this helpful?