- Bootsrap v5.3
- PHP 8.1.2-1ubuntu2.11 (cli) (built: Feb 22 2023 22:56:18)
- MariaDB Ver 15.1 Distrib 10.6.12-MariaDB
This script is only for Educational purposes I would not recommend using it in Prod env.
You are required to install Webserver such as Apache2 with PHP 8 + MariaDB or MySQL Server for website to fully function.
- php + Webserver
Debian/Ubuntu
apt install apache2 php-common
RHEL/CentOS
yum install httpd php-common
Windows/Xampp
https://www.apachefriends.org/index.html
- Clone the repo
git clone https://github.com/GoalTV/SETU-Clubs-And-Societies.git
- Move File To Webserver Root
cd SETU-Clubs-And-Societies* && mv * /webserver-root
- Update MySQL Config
inc/db.inc.php
define('DB_USERNAME', '{YOUR-MySQL-USERNAME}'); define('DB_PASSWORD', '{YOUR-Password}'); define('DB_NAME', 'Project');
- Import SQL File Linux
mysql -u {YOUR-MySQL-USERNAME} -p CREATE DATABASE {YOUR-DATABASE-NAME}; mysql -u {YOUR-MySQL-USERNAME} -p Project < Project.sql
Or import Project.sql Manually to Windows
Note you need generate encryption_key.bin key.bin
in ../conf/ which should be outside www dir as it should not be accessable via webserver.
You also need to create folder ../encrypted outside www dir. this also should not be accessable via webserver.
This script is using Template System.
HTML Template can be located in /template/ with mix of PHP Code
Php code can be included in /inc
Janusz C - @GoalTV_ - [email protected]
Project Link: https://github.com/GoalTV/SETU-Clubs-And-Societies