Squashed commit of the following: commit 50f1993f45a9745ff77f2956a01543b747c85b41 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Sun Dec 24 16:00:39 2017 +0000 Add feature to changelog commit 64deec40f7bc7941bd77f95c383f3b400952cec5 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Sun Dec 24 14:19:06 2017 +0000 Only show name of location in note metadata when not a simple checkin commit 4c9fe397f76981f2eca5749a85ece136f78bb2af Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Sun Dec 24 14:17:49 2017 +0000 Add a simple checkin for testing purposes commit 11564ead4aaf442113d380109d0b65972484dbcf Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Sun Dec 24 14:17:05 2017 +0000 Don’t set a default value for checkins during creation commit 832c77c205626dd0119fc602727f6808c9d7758f Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Sun Dec 24 14:16:05 2017 +0000 If note has no content, but an associated place, it is a simple checkin, set a note value appropriately commit 8c11f9d4b058b3bd248ed02476904301def0e6fc Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Sun Dec 24 14:13:31 2017 +0000 Allow a note to not have content, in whihc case default the value to null |
||
---|---|---|
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.