Commit 40d76462 authored by lislis's avatar lislis

update readme

parent 14e8defa
Pipeline #59598319 passed with stages
in 32 seconds
......@@ -4,11 +4,11 @@
## Add a F.U.C.K. space
Add an entry to `fucks.json`.
Add an entry to `static/fucks.json`.
You can have multiple contacts, they are free-form. Just add multiple objects to the array.
There is an empty marker at `assets/marker.png` and the GIMP file at `assets/marker-all.xcf` that you can use to make your own marker, or reference the standard `assets/marker-fuck.png`.
There is an empty marker at `static/markers/marker.png` and the GIMP file at `static/markers/marker-all.xcf` that you can use to make your own marker, or reference the standard `static/markers/marker-fuck.png`.
You can figure out the coordinates to your city [with this service](https://www.latlong.net/). Please note that in the JSON they are `[long, lat]`.
......@@ -18,7 +18,7 @@ You can figure out the coordinates to your city [with this service](https://www.
"name": "Name of the space",
"city": "city of space",
"coords": [11.58639, 50.92722],
"img": "assets/marker-fuck.png",
"img": "static/markers/marker-fuck.png",
"contacts": [
{
"title": "Used in title attribute",
......@@ -31,18 +31,19 @@ You can figure out the coordinates to your city [with this service](https://www.
## Install dependencies
``` bash
$ npm install
```
This is a Hugo page.
Get Hugo form the [GitHub release page](https://github.com/gohugoio/hugo/releases) or via your package manager.
## Dev server
``` bash
$ npm run start
$ hugo serve
```
## Build JS and copy to public/
## Build site
``` bash
$ npm run build && npm run package
$ hugo
```
The build step outputs a `public/` folder which contains the entire site. This is also what happens during CI.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment