- PHP 82.5%
- Blade 14.3%
- JavaScript 1.8%
- CSS 1.2%
- HTML 0.1%
- Other 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Squashed commit of the following:
commit c79173551c96db363bb6d83475e74856d8d7b61e
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Dec 7 16:38:43 2017 +0000
Add husky entry to package.json
commit af0f5e6dbc6a223390dac884ea1f51e539691b8f
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Dec 7 16:37:42 2017 +0000
Remove pre-commit hook from the scripts entry
commit e85794fbc3ab1bf4b10e2fd418417de116e58848
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Dec 7 16:36:51 2017 +0000
Update npm packages
commit 3d8271767c161b4ebc0c13a9ffd2165160be76eb
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Dec 7 16:27:21 2017 +0000
Make it correct again, forgot a reset earlier
commit 5d47c75a892c85e2af2b1fc1669e251262b165e6
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Dec 7 16:25:55 2017 +0000
Try different lint-staged file idewntifiers
commit 4b72da03bc28007b1192bf04c6cbfdcb9e6a550f
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Dec 7 16:06:28 2017 +0000
Add a lint-staged script
commit 35509858841a6648bbd8659cd75d89210cd0fbe9
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Dec 7 16:03:22 2017 +0000
Add an error to a sass file
commit a54305b751643c12fc134a4498d96110851943cc
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Thu Dec 7 16:02:58 2017 +0000
Trying to fix lint-staged
|
||
| app | ||
| bootstrap | ||
| config | ||
| database | ||
| public | ||
| resources | ||
| routes | ||
| scripts | ||
| storage | ||
| tests | ||
| travis | ||
| .babelrc | ||
| .editorconfig | ||
| .env.dusk.testing | ||
| .env.example | ||
| .env.travis | ||
| .eslintrc.yml | ||
| .gitattributes | ||
| .gitignore | ||
| .styleci.yml | ||
| .stylelintrc | ||
| .travis.yml | ||
| artisan | ||
| changelog.md | ||
| composer.json | ||
| composer.lock | ||
| dependencyci.yml | ||
| helpers.php | ||
| license.md | ||
| package-lock.json | ||
| package.json | ||
| phpcs.xml | ||
| phpunit.xml | ||
| readme.md | ||
| server.php | ||
| webpack.config.js | ||
jonnybarnes.uk
This is the code that runs my website, jonnybarnes.uk.
In theory this is usable by other now :D
Set up the database, this software needs PostgreSQL with the PostGIS plugin. After installing these:
$ createdb -E utf8 db_name
$ psql -d db_name -c 'CREATE EXTENSION postgis'
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, and in
config/syndication.php edit it to the appropriate values or set targets to [].
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 and viola. Essentially this is a
Laravel app so debugging things shouldn’t be too hard.