Skip to content

ProjGO/Popnil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FootBook

Intro

This is not a normal open sourse project and may be unsafe.

Installation

Pre-build configure guide

MariaDB is needed. This is written in pure C and depends on GTK+-2.0

For Debian GNU/Linux and Ubuntu

sudo apt update
sudo apt install mariadb-client mariadb-client libmariadbd-dev build-essencial cmake libgtk2.0-dev firefox fonts-noto-color-emoji

Fedora

sudo dnf update
sudo dnf install mariadb mariadb-server mariadb-devel gcc make pkgconfig cmake gtk2-devel firefox google-noto-emoji-fonts google-noto-emoji-color-fonts

# If you want to setup a root password
sudo mysql_secure_installation 

firewall-cmd --permanent --add-port=3306/tcp

Arch Linux

sudo pacman -Sy
sudo pacman -S mariadb mariadb-clients gcc cmake make gtk2 pkgconf firefox noto-fonts-emoji
sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql

Start the database

# Start it immediately
sudo systemctl start mariadb.service

# Start it on boot
sudo systemctl enable mariadb.service

# Start it immediately and on boot
sudo systemctl enable --now mariadb.service

Then, to add a user named "ProjGO", run the SQL in server/ProjGO.sql as root. To establish the database "FootBook", run the SQLs in server/database.sql as ProjGO.

Start building

mkdir -f cmake-build-debug/
cmake -B cmake-build-debug/
cd cmake-build-debug/
make client server

Running

Run the server

./server

Run the client

./client

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages