Skip to content

GoalTV/SETU-Clubs-And-Societies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

SETU Clubs And Societies

Website Project Scenario 2
View Demo

About The Project

Website ScreenShot

(back to top)

Built With

(back to top)

Getting Started

This script is only for Educational purposes I would not recommend using it in Prod env.

Prerequisites

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

Installation

  1. Clone the repo
    git clone https://github.com/GoalTV/SETU-Clubs-And-Societies.git
  2. Move File To Webserver Root
    cd SETU-Clubs-And-Societies* && mv * /webserver-root
  3. Update MySQL Config inc/db.inc.php
     define('DB_USERNAME', '{YOUR-MySQL-USERNAME}');
     define('DB_PASSWORD', '{YOUR-Password}');
     define('DB_NAME', 'Project');
    
    
  4. 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.

(back to top)

Usage

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

(back to top)

Contact

Janusz C - @GoalTV_ - [email protected]

Project Link: https://github.com/GoalTV/SETU-Clubs-And-Societies

(back to top)

About

Y3 Project Scenario 2 for C00176885

Resources

Stars

Watchers

Forks

Releases

No releases published