Welcome to the Articles System project! This system is designed for managing articles. It's built with Laravel and uses Docker for easy development and testing. Below, you'll find instructions on how to set up and run the system on your local machine.
Before you get started, ensure you have the following tools installed on your system:
- Clone the Repository:
git clone https://github.com/ariox96/articles.git
- Navigate to Project Directory:
cd articles
- Create .env File:
cp .env.example .env
- Build and Start Docker Containers:
docker compose up -d --build
- Install Dependencies:
docker exec -it articles-app composer install
- Run Migrations and Seed Data:
docker exec -it articles-app php artisan migrate:fresh --seed
- Run Generate Key
docker exec -it articles-app php artisan key:generate
- To ensure the system is working correctly, run tests using this command:
docker exec -it articles-app php artisan test
Access the article management system through your web browser by visiting
http://127.0.0.1:8000