Skip to content

vlltr/psychotic-celery

Repository files navigation

psychotic-celery

Laravel parking API

Requirements

If you don't want to use Docker, the best way to setup the project is to use Homestead or Laragon.

Development Environment (No Docker)

  1. Clone Project
git clone [email protected]:vlltr/psychotic-celery.git
cd psychotic-celery
  1. Install dependencies
composer install
  1. Create .ENV
cp .env.example .env
  1. Generate app key
php artisan key:generate
  1. Run migrations
php artisan migrate --seed
  1. Run application
php artisan serve

Once you have started, application will be accessible in web browser at http://localhost:8000

Development Environment (Docker use Sail)

It is recommended to run all from the WSL.

  1. Clone Project
git clone [email protected]:vlltr/psychotic-celery.git
cd psychotic-celery
  1. Download dependencies
docker run --rm \
-u "$(id -u):$(id -g)" \
-v "$(pwd):/var/www/html" \
-w /var/www/html \
laravelsail/php81-composer:latest \
composer install --ignore-platform-reqs
  1. Configuring a shell alias
alias sail='[ -f sail ] && sh sail || sh vendor/bin/sail'
  1. Create .ENV
cp .env.example .env
  1. To start all of the Docker containers
sail up

or start Sail in "detached" mode

sail up -d

Once the application's containers have been started, you may access the project in web browser at http://localhost.

  1. Generate app key
sail artisan key:generate
  1. Run migrations
sail artisan migrate --seed

Executing Commands

# Running Artisan commands locally (No Docker)...
php artisan queue:work
# Running Artisan commands with Laravel Sail (Docker)...
sail artisan queue:work

Run Tests

# Running Artisan commands locally (No Docker)...
php artisan test
# Running Artisan commands with Laravel Sail (Docker)...
sail artisan test

About

Parking API Laravel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published