Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gibbs/app.dangibbs.uk
Laravel application for dangibbs.uk
https://github.com/gibbs/app.dangibbs.uk
laravel php
Last synced: 1 day 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 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-21T14:53:41.000Z (over 1 year ago)
- Last Synced: 2024-07-24T00:46:55.540Z (2 months ago)
- Topics: laravel, php
- Language: PHP
- Homepage:
- Size: 230 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
[![Test](https://github.com/gibbs/app.dangibbs.uk/actions/workflows/test.yml/badge.svg)](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
```