Please use the left navigation bar to browse through this support. Let’s go !

Installation

Before install, please make sure you have the components bellow enable on your server
PHP 5.5.8 or greater (with PHP exec function, etc.)
OpenSSL PHP Extension
PDO PHP Extension
Mbstring PHP Extension
Tokenizer PHP Extension
File and folder permissions
/bootstrap        775
/public/uploads   775
/storage          775

Installation with Apache

  • Unzip the package file
cd /home/user/
unzip the .zip file
  • Put all the LaraChurch package files into your webroot. For example, if your website is located at /home/user/LaraChurch, you can configure Apache virtual host as follows (remember to point the DocumentRoot to the public folder of the source)
<VirtualHost *:80>
  ServerName yoursite.com
  DocumentRoot "/home/user/LaraChurch/public"
  Options Indexes FollowSymLinks
  <Directory "/home/user/LaraChurch/public">
    AllowOverride All
    Require all granted
  </Directory>
</VirtualHost>
  • Change the director/file's owner to Apache's running user (www-data for example), to make sure it has proper permission on your source files
sudo chown www-data:www-data -R /home/user/LaraChurch
sudo chmod 775 -R /home/user/LaraChurch
  • Then restart Apache.
  • Create a MySQL database, add user to it with full permissions.
  • And go to the script's installation URL. For example http://yoursite.com/install
  • Follow the web installation wizard.
  • Once the installation is complete, visit yoursite.com/admin and use Email: admin@admin.com / Password: admin123
  • Change the email address and the password.
  • You are done.
  • For Security reasons, Please Comment the install route after Installation. Path: routes/web.php

Shared Hosting Install

Case 1 )
  • Consider that your server "webroot" folder is: /home/myusername/public_html/
  • Put all the LaraChurch package files to /home/myusername/
  • Move all the files FROM the folder /home/myusername/public/ TO your webroot folder /home/myusername/public_html/
  • Now, you can delete the folder /home/myusername/public/ (It should be empty)
  • Create a MySQL database, add user to it with full permissions.
  • And go to the script's installation URL: http://yoursite.com/install
  • Follow the web installation wizard.
  • Once the installation is complete, visit yoursite.com/admin and use Email: admin@admin.com / Password: admin123
  • Change the email address and the password.
  • You are done.
  • For Security reasons, Please Comment the install route after Installation. Path: routes/web.php
Case 2)
  • Consider that your server "webroot" folder is: /home/myusername/public_html/www.domain.com/
  • Put all the LaraChurch package files to /home/myusername/public_html/
  • Move all the files FROM the folder /home/myusername/public_html/public/ TO your webroot folder /home/myusername/public_html/www.domain.com/
  • Now, you can delete the folder /home/myusername/public_html/public/ (It should be empty)
  • Create a MySQL database, add user to it with full permissions.
  • And go to the script's installation URL: http://yoursite.com/install
  • Once the installation is complete, visit yoursite.com/admin and use Email: admin@admin.com / Password: admin123
  • Change the email address and the password.
  • You are done.
  • For Security reasons, Please Comment the install route after Installation. Path: routes/web.php

Installation with Nginx

  • Put all the LaraChurch package files to /var/www/ and set your server configuration like this:
root "/var/www/public";
location / {
   try_files $uri $uri/ /index.php?$query_string;
}
  • Then restart Nginx.
  • Create a MySQL database, add user to it with full permissions.
  • And go to the script's installation URL. For example http://yoursite.com/install
  • Follow the web installation wizard.
  • Once the installation is complete, visit yoursite.com/admin and use Email: admin@admin.com / Password: admin123
  • Change the email address and the password.
  • You are done.
  • For Security reasons, Please Comment the install route after Installation. Path: routes/web.php

Enjoy laraChurch !!