https://github.com/tbreuss/electricbass
My long time hobby project about bass guitar, bass playing, music, and more.
https://github.com/tbreuss/electricbass
bass-guitar blog bootstrap5 example-project music website yii2
Last synced: 12 months ago
JSON representation
My long time hobby project about bass guitar, bass playing, music, and more.
- Host: GitHub
- URL: https://github.com/tbreuss/electricbass
- Owner: tbreuss
- Created: 2021-08-14T05:15:07.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-03T09:27:04.000Z (almost 3 years ago)
- Last Synced: 2025-04-02T15:11:18.229Z (over 1 year ago)
- Topics: bass-guitar, blog, bootstrap5, example-project, music, website, yii2
- Language: JavaScript
- Homepage: https://www.electricbass.ch
- Size: 1.74 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Electricbass
> My long time hobby project about bass playing and more.
## Note
This project does not contain a database.
Without one, it cannot be started locally.
However, the project can serve as an illustrative example for a Yii2 web application.
I hope this is helpful for one or the other.
## Static Code Analysis
To analyse code base using PHPStan run the following command.
~~~bash
vendor/bin/phpstan analyse --memory-limit=256M
~~~
Or
~~~bash
docker-compose run php vendor/bin/phpstan analyse --memory-limit=256M
~~~
## PHP CodeSniffer
Analyse
vendor/bin/phpcs
Fix
vendor/bin/phpcbf
## Build Asset Files
Build CSS
npm run build-css
Build minified CSS
npm run build-min-css
Build JavaScript
npm run build-js
Build minified JavaScript
npm run build-min-js
Generated asset files are stored in folder `/assets/app/dist`.
## cURL Calls (for local development)
Normal call
curl https://www.electricbass.test --insecure
Test redirection
curl -L --max-redirs 5 http://electricbass.test/blog/ --insecure
## Google YouTube API
https://www.googleapis.com/youtube/v3/playlistItems?key=API_KEY&playlistId=PLsJsWn3-KmsqhFcERx2TjNH0VnUEk1lyG&part=snippet&maxResults=50