Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gigsforlinux/f78d24c2df5001fc6e150d85423f8e2c to your computer and use it in GitHub Desktop.
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
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
@gigsforlinux
Copy link
Author

Screenshot from 2022-06-28 00-03-36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment