mocket
A mock of the "Pocket" app, made with Laravel.
Local installation (Docker)
- Install PHP with Homebrew (to ensure proper extensions are included).
- Install Composer globally, and make sure vendor libraries are available in the path:
export PATH="$HOME/.composer/vendor/bin:$PATH"
. - Install Docker for Mac.
- Start Docker Desktop.
Application setup
- Create a
.env
file from.env.example
. - Run
docker-compose up -d
. - Install with
./dev install
.
To rebuild the application from scratch, in one line:
./dev d && ./dev b && sleep 15 && ./dev i
The dev utility
Run arbitrary commands in the container with:
./dev <COMMAND>
Run Laravel Artisan in the container with:
./dev art <COMMAND>
Run unit tests with:
./dev t
Log into the container with:
./dev s