- 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 070f46bbacd91855730d467cc2806183441791ae
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Mon Sep 4 18:06:04 2017 +0100
Now we now how the laravel IoC conatiner works, no need to be newing class dependencies
commit 57eeacdef178532a681f774f8c6738950d40c964
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Mon Sep 4 17:59:28 2017 +0100
Get json test working again
commit 81c3cfc9b432241d8a4df7f1e0511a50ea4f9b90
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Mon Sep 4 14:38:10 2017 +0100
Can’t use RefreshDatabase yet
commit 4ba5ff724d50ca86b3fa90c7bb4e71ad9e4dad79
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date: Mon Sep 4 14:10:33 2017 +0100
Initial attempt at updating to Laravel 5.5
|
||
| app | ||
| bootstrap | ||
| config | ||
| database | ||
| public | ||
| resources | ||
| routes | ||
| scripts | ||
| storage | ||
| tests | ||
| travis | ||
| .babelrc | ||
| .editorconfig | ||
| .env.dusk.testing | ||
| .env.example | ||
| .env.travis | ||
| .eslintrc.yml | ||
| .gitattributes | ||
| .gitignore | ||
| .psysh.php | ||
| .styleci.yml | ||
| .stylelintrc | ||
| .travis.yml | ||
| artisan | ||
| changelog.md | ||
| composer.json | ||
| composer.lock | ||
| dependencyci.yml | ||
| helpers.php | ||
| license.md | ||
| package-lock.json | ||
| package.json | ||
| 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.