Requires Docker 18+
# First, copy the environment file:
cp .env.example .env
# Install dependencies:
composer install
yarn install
# Copy hosts to /etc/hosts
make copy-hosts
# Boot the docker containers:
make illuminate
make chore
# Build frontend:
yarn watch
# Finally you can visit: http://hackdawg.testWe can utilize the ping-db script using make to check if database has boot up:
make ping-dbSince the database is in a docker container, connecting to it from the host machine is as simple as:
mysql --protocol=tcp -P33069 -uhackdawg -ppasswordMost database GUIs out there supports importing a database from a url:
mysql://hackdawg:password@127.0.0.1:33069/hackdawgmake test