Merge pull request #757 from jonnybarnes/756-update-readme-to-drop-postgis-reference

Tweak the README
This commit is contained in:
Jonny Barnes 2023-04-08 16:31:09 +01:00 committed by GitHub
commit 5fb8a9153f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,14 +2,12 @@
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)
with the [PostGIS](http://postgis.net) plugin. After installing these:
Set up the database, this software needs [PostgreSQL](https://wwwpostgresql.org), after installing:
```shell
$ 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
@ -36,12 +34,11 @@ $ 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 `[]`.
Now we need to edit some config values. In `config/app.php` edit `name`.
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
Now point your server to `public/index.php` et viola. Essentially this is a
Laravel app so debugging things shouldnt be too hard.