Formations.tg
Formations.tg is an open-source online platform designed to help training centers and individuals promote their training courses. It is built on Laravel 8 with Sail (Docker, Postgres), Livewire, Alpine.js, and Tailwind CSS.
Getting Started
Prerequisites
Make sure you have the following installed on your machine:
- Docker and Docker Compose
- Git
Database Schema Design
Installation
- Clone the repository:
git clone https://github.com/gausoft/formations.tg.git
- Navigate into the project directory:
cd formations.tg
- Copy the .env file:
cp .env.example .env
- Run the Sail command to start the containers:
./vendor/bin/sail up
- Generate the application key:
./vendor/bin/sail artisan key:generate
- Run the database migrations and seed the database:
./vendor/bin/sail artisan migrate --seed
- Visit the site at
http://localhost:8000
.
Usage
The website is a marketplace where learners can find professional, modular, and thematic courses offered by various providers, both free and paid. Training centers and individuals can register and publish their training courses on the website.
Contributing
We welcome contributions from the community to improve the platform. If you have any ideas or suggestions, please feel free to submit a pull request.
Coding Standards
We follow the PSR-2 coding style guide. Please make sure your code conforms to this standard before submitting a pull request.
Testing
We encourage testing and require that all code submissions include tests where possible. We use PHPUnit for testing.
To run the tests, run the following command:
./vendor/bin/sail test
License
This project open-sourced software licensed under the MIT license.