- PHP 82.7%
- Blade 14.2%
- JavaScript 1.7%
- CSS 1.2%
- HTML 0.1%
- Other 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Implements the current IndieAuth spec's dedicated /revocation endpoint so clients can self-revoke a token (e.g. on user sign-out), rather than only supporting revocation via the admin side. Always responds 200 per spec, whether the token was found or not, so callers can't use it to probe token validity. Skips the legacy action=revoke-on-/token fallback the spec mentions for older clients, since the only real client here is already being updated to use the current endpoint. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014625MfkGZ7GVdbqKme4a8L |
||
| app | ||
| bootstrap | ||
| config | ||
| database | ||
| public | ||
| resources | ||
| routes | ||
| scripts | ||
| storage | ||
| tests | ||
| .editorconfig | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| .stylelintrc | ||
| artisan | ||
| composer.json | ||
| composer.lock | ||
| docker-compose.yml | ||
| eslint.config.js | ||
| helpers.php | ||
| jbuk_dev_backup.dump | ||
| license.md | ||
| package-lock.json | ||
| package.json | ||
| phpcs.xml | ||
| phpunit.xml | ||
| pint.json | ||
| readme.md | ||
| server.php | ||
jonnybarnes.uk
This is the code that runs my website, jonnybarnes.uk.
In theory this is usable by others now 🚀
Set up the database, this software needs PostgreSQL, after installing:
$ createdb -E utf8 db_name
First get the code, and make sure you’re on the master branch. This branch will
only have tagged releases:
$ git clone https://github.com/jonnybarnes/jonnybarnes.uk mysite.com
$ cd mysite.com
$ git checkout master
Then we need to set up the environment variables that the app will use.
$ cp .env.example .env
$ vim .env
Fill in the various variables. Then we can set up the app:
$ composer install
$ php artisan key:generate
$ php artisan migrate
Now we need to edit some config values. In config/app.php edit name.
Some other things that should be changed. Go to resources/views/master.blade.php,
you may not want to link to a projects page. Also in the <head> the two last links
are to my profile pic and pgp key, ammend/remove as desired.
Now point your server to public/index.php et viola. Essentially this is a
Laravel app so debugging things shouldn’t be too hard.