In this release we add an initial implementation of responsive images using the srcset and sizes attributes on the img tag. We also improve the oEmbed code for embedding tweets. -----BEGIN PGP SIGNATURE----- iJUEABMKAB0WIQSEGbWh2ITK9LCvj7MbLHavsWyFmwUCWb0IEgAKCRAbLHavsWyF m8B9AX9wl2GdhaWUFpOv/lcE+/+V/4badWgtkRbPX9LBpaZNVP5oUuf477JmvMzw nq5IkbEBgM1eFpc5MtxO9xRgevasxrH7qVtVw2QOabOH5dcYBFKvBssFSzraSLRa gRcD/mVHnw== =3C1N -----END PGP SIGNATURE----- Merge tag 'v0.8' into develop Version 0.8 In this release we add an initial implementation of responsive images using the srcset and sizes attributes on the img tag. We also improve the oEmbed code for embedding tweets. |
||
---|---|---|
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 | ||
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.