Tweak the readme

This commit is contained in:
Jonny Barnes 2023-04-08 16:18:02 +01:00
parent b862186a4f
commit 2a3d3b8044
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8

View file

@ -2,14 +2,12 @@
This is the code that runs my website, [jonnybarnes.uk](https://jonnybarnes.uk). This is the code that runs my website, [jonnybarnes.uk](https://jonnybarnes.uk).
In theory this is usable by other now :D In theory this is usable by others now 🚀
Set up the database, this software needs [PostgreSQL](https://wwwpostgresql.org) Set up the database, this software needs [PostgreSQL](https://wwwpostgresql.org), after installing:
with the [PostGIS](http://postgis.net) plugin. After installing these:
```shell ```shell
$ createdb -E utf8 db_name $ createdb -E utf8 db_name
$ psql -d db_name -c 'CREATE EXTENSION postgis'
``` ```
First get the code, and make sure youre on the `master` branch. This branch will First get the code, and make sure youre on the `master` branch. This branch will
@ -36,12 +34,11 @@ $ php artisan key:generate
$ php artisan migrate $ php artisan migrate
``` ```
Now we need to edit some config values. In `config/app.php` edit `name`, and in Now we need to edit some config values. In `config/app.php` edit `name`.
`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`, 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 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. 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 Now point your server to `public/index.php` et viola. Essentially this is a
Laravel app so debugging things shouldnt be too hard. Laravel app so debugging things shouldnt be too hard.