Squashed commit of the following: commit 1701a33d313d0969b061c8a87734395312045d9a Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Sat Mar 16 18:44:29 2019 +0000 Try and get security checker working again commit 2f81f28419304cad1678c6ee054eb3c8782fa082 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Sat Mar 16 18:38:41 2019 +0000 Make sure aaron's profile pic is saved commit 8a78aeec9c648a647fcb5d778b3003df5c3f653e Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Sat Mar 16 18:16:16 2019 +0000 Lets push out the new style as is commit a8015907d44370600ae3711605f96c4e3a637fca Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Fri Mar 15 21:31:19 2019 +0000 More design work commit 12cb6e1bfc23ca9591e5348ebc6e49614d686722 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Sun Mar 10 16:00:30 2019 +0000 Updating CSS styles for design v2 |
||
---|---|---|
app | ||
bootstrap | ||
config | ||
database | ||
public | ||
resources | ||
routes | ||
scripts | ||
storage | ||
tests | ||
travis | ||
.editorconfig | ||
.env.dusk.testing | ||
.env.example | ||
.env.travis | ||
.eslintrc.yml | ||
.gitattributes | ||
.gitignore | ||
.styleci.yml | ||
.stylelintrc | ||
.travis.yml | ||
artisan | ||
composer.json | ||
composer.lock | ||
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.