commit 6186d13cae259221f1948207acfdc109d3f71b11 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Nov 13 17:01:48 2017 +0000 Fixed borwsershot so run whole test suite again commit fe8241368e514de7c28e6aaebe45757cea7f3fa0 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Nov 13 16:56:51 2017 +0000 Use nvm to install node commit 391f4d3fa08906b3d0d905ae98448ce30e9cbc89 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Nov 13 16:47:19 2017 +0000 specify node version 8 commit 5e4df05b3985e069d605c9287f392f3370f27c13 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Nov 13 14:59:00 2017 +0000 Why didn’t filter work commit 9fd5f2f6b29c77ad5d9a2c2dc03dbf05702e24fa Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Nov 13 14:53:25 2017 +0000 Move npm install to before_script and only test browsershot commit bd04bcb835f436b080c02098c68042f71511ec4f Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Nov 13 14:43:04 2017 +0000 Remove a var_dump statement commit 3904dcced167512868817fbe530b0de017ea1bc4 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Nov 13 14:36:21 2017 +0000 Install pupeteer on Travis commit f01389fbfece436522597457c8a303756925a3d6 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Nov 13 13:52:56 2017 +0000 Allow failures on php 7.2 commit 4eafee0b47ebe428d2471bfe3ba71d7446e35092 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Nov 13 13:52:37 2017 +0000 Update chagelog commit fabe8793f50edcc8b20a2cea5b0e76be9794eb25 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Nov 13 13:50:49 2017 +0000 Add a test for taking screenshots commit 888b9546ecf5c000aa96099b009c4b7cd00f08ad Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Nov 13 13:50:27 2017 +0000 Move logic for taking screenshots and getting archive links to the BookmarkService class, this cleans up with acutal job commit 7650fd3eda229b1a1e1e17f0667d203294384551 Author: Jonny Barnes <jonny@jonnybarnes.uk> Date: Mon Nov 13 13:49:33 2017 +0000 Update browsershot to v3 |
||
---|---|---|
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.