This is a simple HR app
To run it follow these steps:
1- Create a database and set its name in .env file
2- Run this composer install
3- npm install
4- npm run dev
5- php artisan migrate
6- php artisan db:seed
7- now run your application and
login with one of these users:
A- type: admin
username or email: SKING
password: password
B- type: manager
username or email: NKOCHHAR
password: password
C- type: employee
username or email: LDEHAAN
password: password
I added docker to run this app
systemctl start docker
docker build --file .docker/Dockerfile -t 1clique .
docker images
chmod -R o+rw bootstrap/ storage/
docker run --name 1clique --rm -p 8989:80 1clique
now u can open http://127.0.0.1:8989/
docker ps
composer require predis/predis
final steps to run :
docker build --file .docker/Dockerfile -t 1clique .
docker-compose up --build
docker-compose up
docker-compose exec app /bin/bash
cd /srv/app
php artisan migrate
php artisan db:seed
open http://127.0.0.1:8989/ and login
u can connect to mysql db on docker using workbench: see Screenshot_2018-10-30_12-47-34.png