https://github.com/gibbs/app.dangibbs.uk
Laravel application for dangibbs.uk
https://github.com/gibbs/app.dangibbs.uk
laravel php
Last synced: 16 days ago
JSON representation
Laravel application for dangibbs.uk
- Host: GitHub
- URL: https://github.com/gibbs/app.dangibbs.uk
- Owner: gibbs
- License: apache-2.0
- Created: 2022-02-17T12:40:48.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-05-09T17:16:40.000Z (2 months ago)
- Last Synced: 2025-05-09T18:29:58.957Z (2 months ago)
- Topics: laravel, php
- Language: PHP
- Homepage:
- Size: 258 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# app.dangibbs.uk
[](https://github.com/gibbs/app.dangibbs.uk/actions/workflows/test.yml)
[Laravel](https://laravel.com/) server-side application for
[dangibbs.uk](https://dangibbs.uk/) (static site).## Development
```bash
# Add to hosts file
echo "127.0.0.1 app.dangibbs.test" | sudo tee -a /etc/hosts >/dev/null# Install packages
composer install# Run container via sail
sail up -d
```## Test
```bash
# Test suite
sail artisan test# Individual test
sail artisan test --filter MkpasswdTest
```## Build
### Build Container
```bash
source .env
docker build --no-cache -t ${DOCKER_BUILD_NAME}:${DOCKER_BUILD_TAG} -t ${DOCKER_BUILD_NAME}:latest .
```### Run Container
```bash
source .env
docker run -it ${DOCKER_BUILD_NAME}:${DOCKER_BUILD_TAG}
```### Debug
```bash
docker exec -it $(docker ps | grep ${DOCKER_BUILD_NAME}:${DOCKER_BUILD_TAG} | awk '{ print $1 }') /bin/bash
```### Push
```bash
docker push ${DOCKER_BUILD_NAME}:${DOCKER_BUILD_TAG}
docker push ${DOCKER_BUILD_NAME}:latest
```