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
Setting up a server is really simple, if you have a webserver already, you can skip ahead, if you don't, well: 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)! 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. 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. 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: In the `webjammies` folder, create a file called `index.ini`, make it look like this:
```ini ```ini
# This is an example `index.ini` file # This is an example `index.ini` file
@@ -55,9 +55,9 @@ momentum.mp3
# Kudos if you can recognise the artist whose songs are here ;) # Kudos if you can recognise the artist whose songs are here ;)
[META] [META]
# Here goes the metadata of the songs, in order of how they sit in [FILES] # Here goes the metadata of the songs, in order of how they sit in [FILES]
Invaders by Some artist Invaders by Hinkik
Skystrike by Some artist Skystrike by Hinkik
Momentum by Some artist Momentum by Hinkik
[EOF] [EOF]
# [EOF] is necessary to tell the parser the file is finished and no data goes beyond. # [EOF] is necessary to tell the parser the file is finished and no data goes beyond.
``` ```