Feedbacky
  • Project Overview
    • Introduction
    • Features
    • FAQ
    • Case Studies
    • Credits
    • Donating
  • Links
    • Discord
    • Feedbacky Feedback
    • Demo Board
    • Github
    • Status
  • Getting Started
    • Installation
      • Initial Setup
      • Configuring
      • Conclusion
    • Domain Setup
    • Updating/Upgrading
  • Handbook
    • Quick Start
    • Features
      • Customizing
      • Roadmaps
      • Changelogs
      • Anonymity
      • Social Links
      • Tags
      • Webhooks
      • Custom Roles
      • Suspensions
      • Integrations
  • How To
    • Moderate your board
    • Add OAuth Providers
  • Reference
    • Upgrading to 0.5.0
    • Upgrading to 0.2.0
    • Older Releases
  • Developer
    • API Usage
  • Community Guide
    • Installation (Windows)
Powered by GitBook
On this page
  • Necessary files
  • Database setup
  • Firewall setup

Was this helpful?

  1. Getting Started
  2. Installation

Initial Setup

Downloading the necessary files for Feedbacky itself, setting up the database and firewall.

PreviousInstallationNextConfiguring

Last updated 3 years ago

Was this helpful?

Necessary files

1. Create a new directory named "feedbacky" in the /etc directory and access it.

sudo mkdir /etc/feedbacky && cd /etc/feedbacky

2. Run the command below to download the necessary files.

sudo curl -O "https://raw.githubusercontent.com/feedbacky-project/app/master/{.env,docker-compose.yml}"
  • .env is the file containing the Feedbacky variable in which you can configure to your needs.

  • docker-compose.yml is the instruction file for Docker.

Database setup

1. Start the SQL shell.

sudo mysql

2. Create a new user for Feedbacky.

As stated , we won't be able to create a localhost user, instead we'll use the % wildcard instead.

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;

Flush will reload the privileges without having the need to restart the MariaDB daemon.

6. Exit the SQL shell.

exit

Firewall setup

Uncomplicated Firewall (UFW) is the default Firewall on Ubuntu 20.04, it is disabled by default.

1. Enable Uncomplicated Firewall (UFW).

sudo ufw enable

2. Forward the Feedbacky server port.

sudo ufw allow 8095/tcp

Make 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.

If you plan on using a different port, make sure that you change the value of the SERVER_APP_PORT variable when !

configuring
previously