- Git (Others) or GitBash (Windows)
- PHP > 7.1.3
- PHP Extensions [OPENSSL, PDO, MBSTRING, TOKENIZER, JSON, CURL, XML, FILEINFO]
- Composer
- NodeJS
- Visual Studio Code
git clone https://github.com/webgeeks-in/courierman.git
cd courierman
cp .env.example .env
# Update following variables in .env
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=courierman
DB_USERNAME=root
DB_PASSWORD=
bootstrap/cache/
Required permission: 0775storage/
Required permission: 0775storage/app/
Required permission: 0775storage/framework/
Required permission: 0775storage/logs/
Required permission: 0775
chmod -R 0777 storage/
chmod -R 0777 bootstrap/cache
composer install
npm i
php artisan migrate
php artisan db:seed
Specific migration and seeder
php artisan migrate:refresh --path=/database/migrations/file_name
php artisan db:seed --class=UsersTableSeeder
php artisan key:generate
php artisan storage:link
npm run dev
Tighten up the seatbelt and You're ready to ride...
php artisan serve
This application can be also run on docker
-- Development Friendly
-- Not for Production
- Docker Desktop
- MySQL Workbench or Any Native MYSQL Tools except PHPMYADMIN
# Start containers in background
$ docker-compose up -d
# Stop containers
$ docker-compose kill
# Force rebuild of Dockerfiles
$ docker-compose up -d --build
# See list of running containers
$ docker ps
# Dive inside container (Example : cms_app)
$ docker exec -ti [CONTAINER ID] bash
# Remove dangling/untagged images
$ docker images -q --filter dangling=true | xargs docker rmi
# Remove stopped containers
$ docker ps -aq --no-trunc -f status=exited | xargs docker rm
Server : 127.0.0.1
User : root
Password : mysql
Port : 33061
That's all Folks. Enjoy.