Skip to content

The new website for Fight for Kidz, developed in PHP using the Laravel framework. - Developed by BIT Year 2 students at SIT.

License

Notifications You must be signed in to change notification settings

samuelgrant/fight-for-kidz

Repository files navigation

Fight for Kidz

The new website for Fight for kids, developed in PHP using the Laravel framework. - Developed by BIT Year 2 students at SIT.

Installation

This application is intended for the private use by Fight for Kidz. For more information please contact Samuel Grant

Installation Requirements

While we recommend that this application is deployed on a Linux, Apache, Mysql & PHP (LAMP) stack, this application may be deployed on any system so long as the following requirements are met.

Software

Hardware

  • 1Ghz CPU
  • 2GB Memory
  • 10GB HDD Space

Hosting can be purchased at Digital Ocean or GoDaddy.

Installation Instructions
  1. cd /var/www/
  2. git clone https://github.com/samuelgrant/fight4kidz
  3. composer install
  4. cp .env.example .env
  5. php artisan key:generate
  6. Fill out the .env file
    • Register a Google Invisible reCAPTCHA account here
  7. Create an Apache Virtual Hosts file. You can use the example below to test your site, but check that you update the DocumentRoot. When you publish this site to production please create a full virtual hosts file. Refer to Apache2 Documentation. Then restart apache2.
<VirtualHost *:80>
	ServerAdmin [email protected]
	DocumentRoot "/var/www/fight4kidz/public"
	ServerName f4k.localhost
</VirtualHost>
  1. Execute the following command: php artisan migrate

Database Notice: Please create a new MySQL user DO NOT USE ROOT. Grant that user the following privileges:

  • Data: SELECT, INSERT, UPDATE, DELETE, FILE
  • Structure: CREATE, ALTER, INDEX, DROP, CREATE TEMPORARY TABLES, CREATE ROUTINE, ALTER ROUTINE, EXECUTE, EVENT, TRIGER
  • Admin: REFERENCES
Final Things

Please secure your site with an SSL certificate. You can get a free certificate using Certbot from Let's Encrypt.

Windows Users: To create the required symbolic link run the command php artisan storage:link.

To make use of the rich text editor run the command php artisan vendor:publish --tag=ckeditor

About

The new website for Fight for Kidz, developed in PHP using the Laravel framework. - Developed by BIT Year 2 students at SIT.

Resources

License

Stars

Watchers

Forks