- Clone the repository by run
git clone [email protected]:ahmed-bermawy/convertedin-assignment.git
- Run
composer install
- Run
php artisan key:generate
- Create a new database and update the
.env
file with the database credentials - Run
php artisan cache:clear
- Run
php artisan migrate
- Run
php artisan db:seed
- Run
npm install
- Run
npm run dev
- Run
php artisan serve
- After installation is finished you can access the application on
http://localhost:8000/
- Clone the repository by run
git clone [email protected]:ahmed-bermawy/convertedin-assignment.git
- cd into the project directory by run
cd convertedin-assignment
- Build the image by run
docker-compose build
- Run the container by run
docker-compose up -d
- To access the container run
docker exec -it convertedin-assignment /bin/bash
- Then install dependencies of composer by run
composer install
inside the container - To migrate database run
docker exec -it convertedin-assignment php artisan migrate
- To seed database run
docker-compose exec convertedin-assignment php artisan db:seed
- After installation is finished you can access the application on
http://localhost:8010/
- The project is integrated with Github Actions to run the tests on every push to the repository
- The workflow file is located in
.github/workflows/code-check.yml