Update README.md

This commit is contained in:
2025-07-09 18:48:51 +02:00
parent 62bda2ae86
commit 27a834ace6

View File

@@ -42,8 +42,8 @@ After that, just run `webjammies.py` and you're good to go!
## Setting up a server
Setting up a server is really simple, if you have a webserver already, you can skip ahead, if you don't, well:
I've also got an easy to set up webserver [here](https://git.novacow.ch/Nova/PyWebServer)!
With that out of the way, to set up your webserver for WebJammies, just create a `webjammies` directory at the root of your site.
And put your MP3, OGG or WAVE files there! To make WebJammies actually find them is a little more complicated.
With that out of the way, to set up your webserver for WebJammies, just create a `webjammies` directory at the root of your site,
and put your MP3, OGG or WAVE files there! To make WebJammies actually find them is a little more complicated.
In the `webjammies` folder, create a file called `index.ini`, make it look like this:
```ini
# This is an example `index.ini` file
@@ -55,9 +55,9 @@ momentum.mp3
# Kudos if you can recognise the artist whose songs are here ;)
[META]
# Here goes the metadata of the songs, in order of how they sit in [FILES]
Invaders by Some artist
Skystrike by Some artist
Momentum by Some artist
Invaders by Hinkik
Skystrike by Hinkik
Momentum by Hinkik
[EOF]
# [EOF] is necessary to tell the parser the file is finished and no data goes beyond.
```