This is the official website for CBCA Goma Ville, a Laravel project that consumes an external API to load church information. This guide will help you set up and run the project locally.
Before getting started, ensure you have the following installed on your machine:
- PHP (version 8.0 or higher recommended)
- Composer (dependency manager for PHP)
- Laravel (version 8.x or higher)
Clone the repository:
git clone https://github.com/Cbca-Goma-Ville/web-site.git
Navigate to the project directory:
cd web-site
Install dependencies: Using Composer, install the necessary dependencies:
composer install
Copy the .env.example to create your .env file:
cp .env.example .env
Generate the application key: This will set the application key in your .env file.
php artisan key:generate
Set up your environment variables: In your .env file, make sure to configure the following:
Database connection settings API base URL for the church information (if required) Any other relevant configurations (e.g., caching, queueing) Migrate the database (if the project uses a local database):
bash Copy code php artisan migrate Running the Project To start the local development server, run the following command:
php artisan serve
Once the server is up and running, visit http://localhost:8000 in your web browser to access the site.
API Integration This project consumes a RESTful API at api.cbcagomaville.org to fetch and display church-related information. The API is configured via the config/app.php file. Make sure the API is accessible and the base URL is correctly set.
Contributing If you'd like to contribute to the project, please fork the repository, make your changes, and submit a pull request. We appreciate your input!
License This project is open-sourced under the MIT license.