Created
July 18, 2022 15:20
-
-
Save gigsforlinux/f78d24c2df5001fc6e150d85423f8e2c to your computer and use it in GitHub Desktop.
I'll Do Attendize-An OpenSource Event Management System On LAMP Stack For You
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt update | |
sudo apt install unzip php php-fpm php-mysql php-pdo php-cli php-fpm php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath php-zip | |
sudo apt update | |
sudo apt install mariadb-server | |
$ sudo mysql_secure_installation | |
git clone https://github.com/Attendize/Attendize | |
cd Attendize/ | |
cp .env.example .env | |
$ nano .env | |
DB_CONNECTION=mysql | |
DB_HOST=localhost | |
DB_PORT=3306 | |
DB_DATABASE=attendize | |
DB_USERNAME=attendize | |
DB_PASSWORD=Str0ngDBP@ssw0rd | |
Add the following content to the file: | |
server { | |
listen 80; | |
server_name localhost; | |
root /var/www/attendize/public; | |
index index.php; | |
location / { | |
try_files $uri $uri/ /index.php$is_args$args; | |
} | |
location ~ \.php$ { | |
try_files $uri =404; | |
fastcgi_pass unix:/run/php/php7.4-fpm.sock; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} | |
} | |
$ sudo nginx -t | |
$ sudo systemctl restart nginx | |
http://localhost |
Author
gigsforlinux
commented
Jul 26, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment